![]() |
#1 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,715
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Multiple Book Details Windows
Has anyone tried to use the new multiple Book Details panel feature in 'anger'. I wanted to see how it might be used when linking books. But I got bamboozled in it, firstly I managed to get multiple BD Windows for the same book, viz:
That doesn't seem right to me - why would anyone want multiple BD windows for the same book? I also got thrown off kilter when I switched libraries from Books to Journals. After adding 'three' books I pressed 'I' on one of them and was surprised to see the "(will not change)" variant of the BD window… i.e. the one with no Next and Previous buttons. I worked out why (I think): When I switched libraries from Books to Journals I had a "current book" BD Window active, but minimised; so the topmost 'book' in the Journals library inherited the "current book" BD Window from Books - which was minimised!, so the subsequent press of 'I' opened a "will not change" BD. That the 'current book' BD was minimised is irrelevant. If multiple BD windows are to be allowed then I think there needs to be a way to 'manage ' them, or at least have visibility of them. Apart from the lack of Next and Previous buttons, everything else seems to function normally in a "(will not change)" window, Link buttons, clicking on a Tag etc to do a search, clicking on HTTP links etc. I admit to being a bit puzzled why the Next and Previous buttons are absent for BD Windows for the current library. BR Last edited by BetterRed; 04-11-2023 at 06:22 AM. |
![]() |
![]() |
![]() |
#2 | |||
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,440
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
They work the way I want them to work.
![]() Each window is labeled and has its own geometry. Window 0 is the one slaved to the booklist and changes when you change books. Windows 1-N are locked on the book selected when they were opened, or in the case of book details links on the book in the other library. Windows locked on the current library are closed when you change libraries. Window 0 is not, instead becoming attached to the new library. The title bar of the book details window tells you what sort of window it is. Quote:
Quote:
As they are non-model, you manage them like any other window using Alt-Tab and the whatever task bar your computer has. This is in fact what you were asking for with the Notes Viewer, multiple non-modal windows. Quote:
I am willing to consider an option/tweak to disable multiple book details windows in the same library, eliminating the "will not change" window type. EDIT: I am also willing to consider closing all the windows for the current library when changed so the first book details window in the new library will also be the associated one. Or perhaps all BD windows including the ones opened by book details links. Last edited by chaley; 04-11-2023 at 07:56 AM. Reason: grammar and closing windows thought |
|||
![]() |
![]() |
Advert | |
|
![]() |
#3 | |||
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,715
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
BD Window 0 - Primary BD
BD Window 1-N - Secondary BDs Quote:
Quote:
Quote:
Squarks - that's wrong, there can be multiple NVs - why would anyone one want that! I am not for a moment suggesting BD windows should stay on top or minimise to the desktop… IMO that would be ghastly. Instead I'll suggest BD windows be in a pop-up list that can be accessed by a button in the Layout button group - maybe the button could show the number of active BD windows. BR Last edited by BetterRed; 04-12-2023 at 02:16 AM. Reason: see "Squarks…" |
|||
![]() |
![]() |
![]() |
#4 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,715
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
BR |
|
![]() |
![]() |
![]() |
#5 | ||
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,440
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
Quote:
This feels like it will become a game of whack-a-mole. I think I will put it back the way it was (mostly). One can open a single window on the current library, slaved to the book list. Opening Book Details with clicks or shortcuts will open or raise this window as appropriate. It will preserve its geometry. Book Details links (and only book details links) will open a second window no matter what library the details come from. If one is already open it will be replaced. It too will preserve its geometry. Changing libraries will close any open book details windows (of which there can be at most 2), minimized or not. I am away from my development environment so I won't do this work until next week. |
||
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,440
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
I have time to think about this again.
I think I was throwing the baby out with the bathwater. Instead of eliminating locked book details windows I am considering using an explicit action to open at most one of them. If I do this then you can:
There can be at most 3 details windows open. The locked details window and the book details window cannot replace each other. Closing one doesn't close the other. They will both be closed if the library changes. Closing the slaved book details window has no effect on the other two. The slaved window is not closed if the library changes, but instead becomes slaved to that library. I wonder if it would be better to make all 3 window "types" always-on-top non-modal. The advantage is they can't get lost, and raise and lower with calibre. The disadvantage is that they can cover each other or the calibre window. Tiling them would be entirely manual. I will post some screen shots if and when I have some. |
![]() |
![]() |
![]() |
#7 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,440
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
I am almost ready to submit this.
Book details tool button. Note the addition of the menu triangle. Book list context menu. It is now a sub-menu instead of an action. Right click in the book details pane. It is now a submenu instead of an action. Screen capture showing all three windows open (across two monitors). I tiled them. The windows are non-modal always on top. Minimizing calibre will also minimize the book details windows. The windows are on top of calibre, but aren't forced to be on top of each other. All the menu items can be assigned a shortcut. Clicking on the toolbar button opens book details (same as old behavior) Double clicking in the book details pane opens the book details windows (same as old behavior) |
![]() |
![]() |
![]() |
#8 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,440
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
The changes are in calibre source and will be in the next calibre release.
|
![]() |
![]() |
![]() |
#9 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,715
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
@chaley re: Several changes:
Quote:
BR |
|
![]() |
![]() |
![]() |
#10 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,440
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
A bit deeper: I had originally thought it might be useful for a book details link to specify the book using a search query instead of a book id. This ended up going nowhere. Book-details links ended up only allowing specifying the target using book ids, so there was no need to keep the possibility of doing a query in downstream code. |
|
![]() |
![]() |
![]() |
#11 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,950
Karma: 74999999
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
That... doesn't make too much sense to me, as I thought the point of a search was to return multiple books. Would it pop up multiple windows?
|
![]() |
![]() |
![]() |
#12 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,715
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
Thanks BR PS: I didn't even know there was a Show Book Details menu tool ![]() Last edited by BetterRed; 04-16-2023 at 08:53 PM. Reason: PS: .... |
|
![]() |
![]() |
![]() |
#13 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,440
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
Early on I took support out of the link processing, but didn't take out the support code, which was an oversight. |
|
![]() |
![]() |
![]() |
#14 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,440
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
I confess that the third option, close all the book details windows, was added because I wanted more than 2 items in the menu. ![]() |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Clickable Book IDs on Book details pane | Comfy.n | Calibre | 26 | 04-11-2023 02:38 PM |
Bug: Dark Mode (Windows) Book Details Pop-Up Cover Background Not Changing to Dark | cgrapski | Calibre | 7 | 05-03-2021 11:45 PM |
Stop seeing book details when I open a book in Android | Jo69 | Android Devices | 5 | 03-27-2021 05:41 AM |
Calibre:Book Cover size in Book Details side pane & Edit Metadata Individually window | Volfer | Calibre | 3 | 01-05-2016 01:56 PM |
Multiple Windows opening | nzhpy3 | Sigil | 21 | 10-09-2015 08:00 PM |