Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old Today, 12:08 PM   #106
philja
Groupie
philja began at the beginning.
 
Posts: 151
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:	6
Size:	663.1 KB
ID:	210611  
philja is offline   Reply With Quote
Old Today, 12: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,060
Karma: 5449552
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 online now   Reply With Quote
Advert
Old Today, 12:32 PM   #108
philja
Groupie
philja began at the beginning.
 
Posts: 151
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; Today at 12:35 PM.
philja is offline   Reply With Quote
Old Today, 02: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,060
Karma: 5449552
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 online now   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 10:27 AM
Sigil-1.2.0 Released DiapDealer Sigil 77 07-16-2020 12:55 PM
Sigil-0.9.7 Released DiapDealer Sigil 90 11-10-2016 01:30 PM
Sigil-0.9.6 Released DiapDealer Sigil 69 10-29-2016 10:35 AM
Sigil-0.8.900 released for testing - Wait for Sigil-0.8.901 KevinH Sigil 106 10-04-2015 10:41 AM


All times are GMT -4. The time now is 03:21 PM.


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