11-08-2023, 07:23 AM | #1 |
Junior Member
Posts: 6
Karma: 10
Join Date: Nov 2023
Device: kindle 10
|
Can't re-dock panels on Debian
Hi,
Yesterday I un-docked the live preview panel by mistake. According to the manual I should just drag it at the edge of the window, which should highlight, and then the panel should re-dock. This is not happening, the window remains floating. I tried to un-dock the file browser and now I can't re-dock that either My wife has the same problem on her laptop. We are both running Debian on different machines. Is there a setting I can't find or something like that, or should this be flagged as a bug on github? Thanks! |
11-08-2023, 07:51 AM | #2 |
Grand Sorcerer
Posts: 27,572
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Double-click the floating dock-widget's titlebar. It's easier than dragging and dropping.
It's not a bug, it's just tricky. Dragging dock-widgets to the right position to be and redocked has always been finicky. The trick is holding the drag until you see the background change to receive the drop. Then release. Depending on what version of Debian you're using, the Qt provided by your repos might be more finicky than other Qt versions Last edited by DiapDealer; 11-08-2023 at 08:04 AM. |
Advert | |
|
11-08-2023, 07:56 AM | #3 |
Junior Member
Posts: 6
Karma: 10
Join Date: Nov 2023
Device: kindle 10
|
|
11-08-2023, 08:20 AM | #4 |
Sigil Developer
Posts: 7,675
Karma: 5433388
Join Date: Nov 2009
Device: many
|
Is this with Sigil 2.0.2 or some earlier version?
Related issues exist in Qt but should have all been fixed in Qt 6.5.3. What versions of Sigil and Qt does your system use? Use the Sigil's About menu and it will tell you. |
11-08-2023, 08:58 AM | #5 | |
Junior Member
Posts: 6
Karma: 10
Join Date: Nov 2023
Device: kindle 10
|
Quote:
qt 5.15.8 This is the latest available build from Debian repo. For some reason Debian 12 (stable) is stuck at 1.9.2 but Debian 13 (Trixie) got 2.0.2 Do you guys know if/when it will be available on Debian 12, or should I just use Flathub? |
|
Advert | |
|
11-08-2023, 09:10 AM | #6 |
Grand Sorcerer
Posts: 27,572
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Yes.The floating window is a QDockWidget provided by Qt. If neither of the methods work to redock it, then there must be something broken about Debian's Qt5.15.8 implementation. I've never seen the the title-bar double-click method fail on any platform before. Even on older Sigil versions.
|
11-08-2023, 09:19 AM | #7 |
Sigil Developer
Posts: 7,675
Karma: 5433388
Join Date: Nov 2009
Device: many
|
FWIW,
Qt 5.15.x had this issue on some platforms according to this Qt bug report: https://bugreports.qt.io/browse/QTBUG-101657 and according to that info it was never fixed in the Qt 5.15 series and instead the fix was in Qt 6.4.x Perhaps it is related to Linux Desktops taking over title bar and Window decorations to match their Desktop theme. If so briefly changing to a different theme may help. Alternatively, you can rename your sigil.ini file to sigil.ini.old or something similar and the floating windows should now be redocked on next start. Last edited by KevinH; 11-08-2023 at 09:25 AM. |
11-08-2023, 09:22 AM | #8 | |
Grand Sorcerer
Posts: 27,572
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
The Flathub version has its own limitations (though we have nothing to do with preparing/distributing the Flathub version of Sigil). Some third-party python Sigil plugins have problems running in Flathub's sandbox. Last edited by DiapDealer; 11-08-2023 at 09:34 AM. |
|
11-08-2023, 09:26 AM | #9 | |
Grand Sorcerer
Posts: 27,572
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
Last edited by DiapDealer; 11-09-2023 at 06:23 AM. |
|
12-20-2023, 08:31 AM | #10 |
Junior Member
Posts: 6
Karma: 10
Join Date: Nov 2023
Device: kindle 10
|
Hey all! Sorry I didn't get to answer before now. If it's ever helpful to anybody else, just start a new session with Gnome Xorg and that will allow you to re-dock without issues
If anybody needs instructions: > boot or log out > click on your user > in the bottom-right corner there is a gear icon, click and choose Gnome Xorg done! |
12-21-2023, 06:11 AM | #11 |
Grand Sorcerer
Posts: 27,572
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
What desktop environment were you using before switching to Gnome? You might be able to get by without actually changing DEs by tricking Qt into believing you're using something else. Launching sigil from a command-line using something like:
`XDG_CURRENT_DESKTOP=XFCE sigil` has been used to bypass the KDE platform theme plugin with success in the past. |
12-21-2023, 06:57 AM | #12 |
Junior Member
Posts: 6
Karma: 10
Join Date: Nov 2023
Device: kindle 10
|
I am on GNOME, but gnome standard doesn't work, while it does through a xorg instance.
Just wanted to point this out in case people are not handy with the command line and just want a quick fix |
12-21-2023, 08:52 AM | #13 |
Grand Sorcerer
Posts: 27,572
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
No problem. It sounds like it's probably a Wayland thing, maybe. Which is unfortunately not surprising. Do you have the qtwayland5 package installed by chance? You might try it, if not. You could also try:
Code:
QT_QPA_PLATFORM="wayland;xcb" sigil You could also try forcing the issue with: Code:
QT_QPA_PLATFORM="xcb" sigil Last edited by DiapDealer; 12-21-2023 at 09:07 AM. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Comic panels being too small to read? | JimPhelps | Other formats | 0 | 12-28-2021 03:59 PM |
Debian on modern kindles with pre-built qemu and debian image, scripts, desktop | theol0403 | Kindle Developer's Corner | 27 | 05-15-2021 03:57 PM |
Glo Where's Debian GNU/Linux image for Kobo Glo?哪里有Kobo Glo的Debian GNU/Linux镜像? | zaoqi | Kobo Developer's Corner | 0 | 04-09-2017 02:33 AM |
An idea: Local Writer's Panels | Steven Lake | Writers' Corner | 2 | 03-06-2014 02:44 AM |
Pop ups/Panels/Overlays | p_nut33 | Kindle Formats | 21 | 10-02-2013 06:00 PM |