View Single Post
Old 08-22-2023, 12:18 PM   #48
Vanguard3000
Groupie
Vanguard3000 ought to be getting tired of karma fortunes by now.Vanguard3000 ought to be getting tired of karma fortunes by now.Vanguard3000 ought to be getting tired of karma fortunes by now.Vanguard3000 ought to be getting tired of karma fortunes by now.Vanguard3000 ought to be getting tired of karma fortunes by now.Vanguard3000 ought to be getting tired of karma fortunes by now.Vanguard3000 ought to be getting tired of karma fortunes by now.Vanguard3000 ought to be getting tired of karma fortunes by now.Vanguard3000 ought to be getting tired of karma fortunes by now.Vanguard3000 ought to be getting tired of karma fortunes by now.Vanguard3000 ought to be getting tired of karma fortunes by now.
 
Posts: 169
Karma: 474196
Join Date: Jan 2011
Location: Canada
Device: Kobo Libra 2
Quote:
Originally Posted by KevinH View Post
That bug was specific to QToolButtons and not QMenu's. Your image shows a QMenuBar QMenu showing up on the wrong screen.
Pardon me; I'm not sure about the specific terminology for these, but the menus affected for me are:
  • The top menus (File, Edit, etc) as shown in the screenshot I attached.
  • The Search & Replace dropdowns (Normal/Case Sensitive/Regex, Down/Up, etc)
  • Right-click menus (in Book Browser, code pane, Clips pane, etc - basically anywhere in Sigil)

Quote:
Originally Posted by KevinH View Post
My guess is that your "Primary Screen" is set in Windows Display to be the screen on the right.
I suspected that as well but that is not the case. My left monitor is #1 (primary) and right is #2; both are using the same resolution, the same make/model, and connected to the same video card by DisplayPort.

Quote:
Originally Posted by KevinH View Post
Are you by chance launching Sigil on that screen on the right first, and then manually moving it to the left screen?
On a clean install or if I nuke the settings folder, Sigil opens on first run on the second (right) monitor in windowed mode. But when I move it to my left monitor, close, and reopen, Sigil of course remembers that position and opens it on the left monitor.

Again, if Sigil is on the right monitor all menus seem to appear correctly. Perhaps also of note is that the About screen opens on the right monitor, though at that point my cursor is on the menu, which is on the right. Opening the clip editor via hotkey opens it on the left.

Quote:
Originally Posted by KevinH View Post
Does it show any difference when you change the screen's relative locations in Windows Display control panels?
I tried a few iterations of this and it always seems to want to open the menus on monitor #2 (the right one, physically) when Sigil is on #1 though where it opens is different each time. If I make #2 my primary display, the reverse occurs.

Quote:
Originally Posted by KevinH View Post
What dpi are your monitors and what scalings are you using?
Both monitors are at:
  • 1920x1080
  • 100% scaling
  • "Let WIndows try to fix apps so they're not blurry" on
  • Landscape
  • No custom scaling

Quote:
Originally Posted by KevinH View Post
You might want to take a peak at these bug reports to see if any match your situation
QTBUG-102356 seems the closest, though the specifics of the reporter's arrangement seem different (i.e. they suggest a three-monitor setup). There does seem to be a possible workaround in the comments, but it's beyond my ken as a non-QT-familiar dev.

Thank you for the help with this!
Attached Thumbnails
Click image for larger version

Name:	Screenshot 2023-08-22 121734.png
Views:	584
Size:	4.3 KB
ID:	203276   Click image for larger version

Name:	Screenshot 2023-08-22 121707.png
Views:	607
Size:	15.7 KB
ID:	203277   Click image for larger version

Name:	Screenshot 2023-08-22 121648.png
Views:	592
Size:	12.9 KB
ID:	203278  

Last edited by Vanguard3000; 08-22-2023 at 12:26 PM.
Vanguard3000 is offline   Reply With Quote