GNOME Bugzilla – Bug 720182
[Win32] Right-click on sheet tab opens it on wrong monitor (with two monitors)
Last modified: 2018-05-22 14:06:42 UTC
Hey, I am experiencing a minor issue with the tab location when trying to rename or move a sheet inside gnumeric with a two monitor system. When right-clicking the sheet to be renamed on my right monitor, the according tab opens on the left monitor. The tab itself works fine, though. The problem occured in the two most recent gnumeric-versions (1.12.8 and 1.12.9, windows)
Can you make a screenshot, please? (This sounds like something a camera is best for.)
Created attachment 263973 [details] left monitor: menu
Created attachment 263974 [details] right monitor: spreadsheet
Just added screenshots for the problem. I was right-clicking one of the sheet tabs in the worksheet on the right monitor (right.png), which causes the menu to open on the left screen (left.png).
Ah, the context menu appears on the wrong screen. The code for this is ancient, so I suspect something in gtk+ changed. It appears to work just fine on Linux and I don't have a place to test dual screen Win32, :-/ Does this affect any other menus or dialogs?
I have committed a change that might -- *might* -- fix this. I am doing it blind, though.
Thanks for the effort! The problem seems to occur for most of the menus opening by a right-click.
Does this still occur after the tentative fix of comment 6?
Is this fix implemented in the 1.12.15-version of Gnumeric for Windows? If so, the problem still remains. However, it seems that the the problem only occurs when I'm working on the right one of my two screens. If I move the Gnumeric-window to the left screen, the right-click-opened menus pop up in the correct place.
That fix is in there -- evidently it's not enough. The problem is likely in the Gtk+ library. Chances of getting it identified and fixed are low.
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gnumeric/issues/242.