shortcut clashes with search or other text entry widgets

Bug #1429407 reported by Jeff Fortin Tam
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HomeBank
Fix Released
Medium
Maxime DOYEN

Bug Description

1. Select an operation in an account
2. Click the searchbar
3. Type R or C
4. Homebank interprets that as a keyboard shortcut

Two solutions:
- Don't bind to single keys, use Ctrl modifiers
- Put some hacks to disable/re-enable bindings when anything else gets focused... but I'm warning you, from experience, this will be an error-prone hack.

This is a regression in 5.0 compared to 4.x

Jeff Fortin Tam (kiddo)
description: updated
Revision history for this message
Maxime DOYEN (mdoyen) wrote :

R was already used that way under 4.6.3
This seems to be a chnage in gtk3, the key is passed to the list, despite another widget has the focus

Revision history for this message
Jeff Fortin Tam (kiddo) wrote :

Ah that's possible yes :) anyhow I suspect the use of the "Ctrl" modifier would solve the problem and prevent accidents. Currently have to do some odd workarounds as a user in order to type into the search bar ;)

Revision history for this message
Maxime DOYEN (mdoyen) wrote :

I will find a way to fix this for sure

Changed in homebank:
assignee: nobody → Maxime Doyen (mdoyen)
importance: Undecided → Medium
milestone: none → 5.0.1
status: New → Confirmed
Revision history for this message
Maxime DOYEN (mdoyen) wrote :

the strange thing is that this only occurs when there is an active line into the listview, if you remove it (ctrl + select the line), there is no clash. I changed with control modifier for R and C key.

Changed in homebank:
status: Confirmed → In Progress
Maxime DOYEN (mdoyen)
Changed in homebank:
status: In Progress → Fix Committed
Maxime DOYEN (mdoyen)
summary: - Clashes with search or other text entry widgets - Do not use single
- letters as keyboard shortcuts?
+ shortcut clashes with search or other text entry widgets
Maxime DOYEN (mdoyen)
Changed in homebank:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.