Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 09-04-2024, 01:08 PM   #106
philja
Groupie
philja began at the beginning.
 
Posts: 177
Karma: 10
Join Date: Nov 2015
Location: Europe EEC
Device: Kindle Fire HD6
Quote:
Originally Posted by KevinH View Post
Is there any size or scaling difference between the Sigil MainWindow when it has no menubar to the version you recover by minimizing and restoring it to bring the menubar back/ Perhaps a larger or smaller scaling? Or maybe an small positional offset?

It does sound as if anything that will cause the MainWindow to be redrawn will work to return the menu bar. So something is causing a refesh/update signal to get lost when the KVM switch is thrown.

By any chance is your linux box set to use a single top menubar (like the macOS does)? Some KDE and GNome desktops can be set that way.

As to why the menu bar goes away at all, probably has to do with detecting changes in how different OS's use different monitor resolutions/refresh rates on the exact same monitor when connected to the switch.

So you might try syncing the Linux driver resolution and refresh rate, and scaling to **exactly match*** those used by Windows and see if the issue goes away.

I have no idea how the Qt software or Windows monitors for changes in these settings *not* caused by manually setting those values in the control panel (ie how it detects the KVM switch was thrown)

The KVM switch must be responsible for telling the Monitor to autosync and then alerting the OS somehow.
There is a scaling difference between my Linux box and the Windows box. Both boxes were set at 2560X1440 at 60Herz, but the Windows box was set to 175% and the Linux box to 125%. I have noticed scaling differences in OBS for my webcam if I switch between boxes.

I set the linux box to 175% to test (I can't live with that) but that didn't prevent the loss of the menubar when I switched back to the windows box. But it does need more than around 5 minutes for the menubar to go.

My Linux box does not use a single top menu bar like macOS.

I normally use Sigil maximised, but to test your first point about the scaling of the Sigil window, I opened Sigil at a reduced size and waited. The screenshot attached shows that there is a small scaling difference when the menubar disappears. The blue around the edges is my screen 'wallpaper'. You'll notice a slight clipping at the left edge (see Book Browser, etc.) and a vacant strip at the right edge. There is also a blank strip at the bottom, below the status bar and its height more or less corresponds to the size of the missing menubar. The width of the title bar does not appear to be reduced.

To restore the menubar, I clicked in the titlebar and gave it the merest nudge, and the Sigil window was redrawn correctly.
Attached Thumbnails
Click image for larger version

Name:	Sigil-window-menubar.png
Views:	60
Size:	663.1 KB
ID:	210611  
philja is offline   Reply With Quote
Old 09-04-2024, 01:19 PM   #107
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,160
Karma: 5450818
Join Date: Nov 2009
Device: many
Interesting, so by just waiting long enough you can see the window size shrinking and moving slightly. As if someone changed the 0,0 corner.

I will search Qt bug reports to see if there are any window specific bugs that might cause positioning shifts or shrinkage.
KevinH is offline   Reply With Quote
Old 09-04-2024, 01:32 PM   #108
philja
Groupie
philja began at the beginning.
 
Posts: 177
Karma: 10
Join Date: Nov 2015
Location: Europe EEC
Device: Kindle Fire HD6
Quote:
Originally Posted by KevinH View Post
Interesting, so by just waiting long enough you can see the window size shrinking and moving slightly. As if someone changed the 0,0 corner.

I will search Qt bug reports to see if there are any window specific bugs that might cause positioning shifts or shrinkage.
Sorry - I think I've mislead you slightly. By waiting, I mean working on the linux box long enough for the menubar to go and then switching back to the Windows box.

It seems to take at least 5 minutes. It didn't actually shrink in front of my eyes.

I put my Linux scaling back to a more comfortable 125% and that didn't make any difference to the scaling of Sigil's window when the menubar went away. It was exactly as ijn the screenshot I added to my previous post.

Last edited by philja; 09-04-2024 at 01:35 PM.
philja is offline   Reply With Quote
Old 09-04-2024, 03:01 PM   #109
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,160
Karma: 5450818
Join Date: Nov 2009
Device: many
Understood. I searched for all types of "shrinking, shifting, and menubar issues" and even looked at "kvm" issues but none of the Qt issues the search brought up appeared to apply.

Not sure how else to help. This could easily be a kvm switch issue with emulating that a monitor still exists, a unreported Qt6 issue on Windows or almost anything. As I have no kvm switch nor can recreate this on Linux or macOS, I have nothing left but pure guesswork.
KevinH is offline   Reply With Quote
Old 09-04-2024, 04:30 PM   #110
philja
Groupie
philja began at the beginning.
 
Posts: 177
Karma: 10
Join Date: Nov 2015
Location: Europe EEC
Device: Kindle Fire HD6
Quote:
Originally Posted by KevinH View Post
Understood. I searched for all types of "shrinking, shifting, and menubar issues" and even looked at "kvm" issues but none of the Qt issues the search brought up appeared to apply.

Not sure how else to help. This could easily be a kvm switch issue with emulating that a monitor still exists, a unreported Qt6 issue on Windows or almost anything. As I have no kvm switch nor can recreate this on Linux or macOS, I have nothing left but pure guesswork.
That seems a reasonable conclusion. It remains more of a curiosity than a nuisance. Now that I've found that the slightest twitch of the Sigil window gets it redrawn complete with menubar, I can live with that.

I would think that Windows still thinks the monitor is connected when I'm switched over to the Linux box because when I switch back, I find that the Windows screensaver has kicked in and that's set to happen after 10 minutes without activity.

Maybe more light will be shed on this issue at a later date.

Last edited by philja; 09-04-2024 at 04:35 PM. Reason: to add info on screensaver.
philja is offline   Reply With Quote
Old 09-06-2024, 04:53 PM   #111
Tenome
Enthusiast
Tenome began at the beginning.
 
Posts: 49
Karma: 26
Join Date: Jan 2022
Device: none
The malformed epub warning plays twice for me when opening a book, any way to fix or just disable this notification?

https://i.imgur.com/uzKgFWe.png
Tenome is offline   Reply With Quote
Old 09-06-2024, 05:14 PM   #112
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,160
Karma: 5450818
Join Date: Nov 2009
Device: many
Already reported and fixed in master. See earlier in this thread.
Next release coming out soon will have the fix.
KevinH is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sigil-1.5.1 Released DiapDealer Sigil 27 04-15-2021 11:27 AM
Sigil-1.2.0 Released DiapDealer Sigil 77 07-16-2020 01:55 PM
Sigil-0.9.7 Released DiapDealer Sigil 90 11-10-2016 02:30 PM
Sigil-0.9.6 Released DiapDealer Sigil 69 10-29-2016 11:35 AM
Sigil-0.8.900 released for testing - Wait for Sigil-0.8.901 KevinH Sigil 106 10-04-2015 11:41 AM


All times are GMT -4. The time now is 11:20 PM.


MobileRead.com is a privately owned, operated and funded community.