After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 796665 - Backspace Key Inoperable After Ctrl+V
Backspace Key Inoperable After Ctrl+V
Status: RESOLVED FIXED
Product: GnuCash
Classification: Other
Component: General
3.1
Other All
: Normal normal
: future
Assigned To: gnucash-general-maint
gnucash-general-maint
Depends on:
Blocks:
 
 
Reported: 2018-06-25 13:09 UTC by Robert Chapin
Modified: 2018-06-30 00:12 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Robert Chapin 2018-06-25 13:09:50 UTC
Steps to Reproduce:

1. Open any account ledger.
2. Click on the Description field for a new transaction.
3. Press Ctrl+V

Expected Behavior:

Ctrl+V should paste text with no adverse results.

Actual Behavior:

The backspace key is now inoperable until the account ledger is closed.

BuildID:

git 3.1-171-g1e3a44500+ (2018-06-17)
Comment 1 Robert Chapin 2018-06-25 14:04:01 UTC
Upgraded to 3.2, confirmed same problem.
Comment 2 John Ralls 2018-06-25 17:39:21 UTC
Found the problem, a side effect from 0b10b4b9's change to gnucash-sheet.c. Apparently a paste operation sets the cell's editable flag to false and that change removed setting it true then false again because the latter interfered with input methods.
Comment 3 Richard Ullger 2018-06-25 19:05:43 UTC
Pressing ctrl-v is also disabling the DEL key and breaks the fix for bug https://bugzilla.gnome.org/show_bug.cgi?id=795731 but the field is still editable. You can add new text or select text and overtype.
Comment 4 John Ralls 2018-06-25 20:56:07 UTC
Regular typing works because it's passed on to the input method and that seems not to care about the sheet's editability.

The cut and paste handlers had similar editability toggles, ironically added as a work-around to the first one (removed in 0b10b4b9) that stopped cut and paste from working with Gtk3. The whole thing was originally added as part of fixing Bug 605802 to fix a couple of the date field accelerators and using the account separator in the transfer-account field. Both work fine without it.

This problem has been fixed in our software repository. The fix will go into the next software release. Once that release is available, you may want to check for a software upgrade provided by your Linux distribution.
Comment 5 John Ralls 2018-06-30 00:12:16 UTC
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=796665. Please update any external references or bookmarks.