01-10-2024, 05:24 AM | #1 |
null operator (he/him)
Posts: 20,590
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
right mouse click VS Shift+F10, MenuKey
The context menu shown for right click on a field in Book Details is not the same as the context menu shown when Shift/F10 or the Menu key is used on the same Book Details field, viz:
Qt permitting, could the Shift/F10 context menu be made the same as mouse right click context menu. For me, right click with a mouse is hard enough, on a laptop's trackpad its diabolical… the only gestures I do are two fingered ones BR And no, I don't know why I have the book editor configured for DOCX files. Last edited by BetterRed; 01-10-2024 at 05:28 AM. |
01-10-2024, 06:32 AM | #2 |
Grand Sorcerer
Posts: 11,742
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Kovid will know, but I suspect it is hard if not impossible to do. The mouse knows what field it is over so can adapt the menu. The keyboard doesn't (seem to) use the mouse position.
|
Advert | |
|
01-10-2024, 06:57 AM | #3 |
creator of calibre
Posts: 43,871
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
yeah context menu event is position dependent (aka the menu depends on what you click on). With the keyboard that position is zero IIRC.
|
01-10-2024, 09:25 AM | #4 |
creator of calibre
Posts: 43,871
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
well charles points out that one can avoid the click and allow pressing the context key instead, provided you are willing to move the mouse to the desired location first.
|
01-10-2024, 05:25 PM | #5 | ||
null operator (he/him)
Posts: 20,590
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
I would have thought the keyboard handler should process Shift/F10 or Menukey down/up interrupts in the same way as the mouse handler handles the right button down/up interrupts… without reference to the mouse location. Quote:
BR |
||
Advert | |
|
01-10-2024, 05:38 PM | #6 | |
Grand Sorcerer
Posts: 11,742
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
We can change calibre so that in book details the keyboard context menu request uses the item under the mouse pointer instead of the semi-random position Qt uses. Keyboard focus does not provide this information. Are you willing/able to move the mouse pointer before you press the context menu key? Do note that you must click somewhere (anywhere) in the book details panel before this will work. |
|
01-10-2024, 05:49 PM | #7 |
null operator (he/him)
Posts: 20,590
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Late breaking discovery:
If I backtab into the field e.g. the DOCX, and press Shift+F10 or Menu key I get the full menu. I can live with that workaround, but it suggests it should be fixable for forward tab into a field. @chaley - using a mouse on a lap mounted Surface Go whilst sitting on the Manly ferry and then the 199 bus to Newport is best avoided… and if not, it would have to be on a leash BR Last edited by BetterRed; 01-10-2024 at 05:57 PM. |
01-10-2024, 06:00 PM | #8 |
Grand Sorcerer
Posts: 11,742
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
That doesn't work for me. I see no difference in behavior no matter whether I forward tab or backtab to a field. Glad it works for you. I hope it continues to do so.
|
01-10-2024, 06:23 PM | #9 | |
null operator (he/him)
Posts: 20,590
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
Works for me on all fields in both detached Book details windows.
BR |
|
01-11-2024, 06:11 AM | #10 | |
Grand Sorcerer
Posts: 11,742
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
If it is working for you when you need it, good. |
|
01-11-2024, 04:37 PM | #11 | |
null operator (he/him)
Posts: 20,590
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Leaving aside the Tab/Backtab issue, it always works for me, the entire content of the field is always selectable - as visualised by the dotted rectangle surrounding the field.
If I Backtab into a long text field that contains <a ref…> links I can Shift+F10 on the links and open the links. If I Backtab into a Link or Note icon I can do the same, see attached screen shots. As I wrote in my opening post: Quote:
I've given Qt a nickname -- 'Thatcher'! Curious - did you try the sequence of steps I provided in my last post. BR Last edited by BetterRed; 01-11-2024 at 04:49 PM. |
|
01-11-2024, 04:46 PM | #12 | |
Grand Sorcerer
Posts: 11,742
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
I worked out what I think Qt is doing and submitted a work-around that Kovid accepted and is now in source. Qt gives a different point in the focus rectangle based on which direction was used to enter the field. It now always works for me. We will see whether or not it works for you or I killed whatever daemon you have in your computer that was working on your behalf. |
|
01-11-2024, 05:31 PM | #13 |
null operator (he/him)
Posts: 20,590
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Shift/F10 and Menukey behaves just same in Windows 10 Safe Mode with no plugins, arrive on a Tab no good, arrive on a Backtab all good.
Windows advanced visualisation settings may play a role - mine are: BR |
01-11-2024, 05:36 PM | #14 | |
Grand Sorcerer
Posts: 11,742
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
|
|
01-11-2024, 05:48 PM | #15 |
null operator (he/him)
Posts: 20,590
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
My Test library has 89 columns, 14 standard and 75 custom
I just Tabbed and Backtabbed into each one of them, and into various embedded <a ref> links (html, calibre, onenote, mailto, file), Category links and Notes and saw the same phenomena on all of them - select on a Tab: no good - select on Backtab: all good. BR |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Shift + Left-Mouse Click to select multiple epubs Fails | Frizzell | Library Management | 24 | 03-17-2020 12:42 PM |
Mouse-click to shift from book detail screen to main screen, without edit mode. | Rob557 | Library Management | 2 | 07-27-2012 06:45 AM |
Mouse Click behaviour | melmac | Calibre | 2 | 01-11-2012 05:39 AM |
mouse click tracking or analytics? | PChuprina | ePub | 3 | 10-29-2010 11:44 PM |
Free Fantasy, Only A Mouse-Click Away | Carolyn Kephart | Writers' Corner | 14 | 06-01-2009 03:31 PM |