qtfm
qtfm copied to clipboard
Context menu not working when qtfm window is moved to an other monitor
On a multi-head/display/monitor system
- Start qtfm
- Drag it to an other display
- See right click context menu is not working. (For all items)
- Drag qtfm window back to the original/main display
- See context menu working as expected
not able to replicate.
6.1.7 or master?
6.1.7
and Qt version?
I connected an external monitor to my laptop, did a xrandr --output X --left-of Y
moved qtfm between monitors and the context menu works on both monitors here.
Qt 5.11.3. Some more info/experimentation: Probably it is a qt/x11 thing.
Displays: LVDS1 1024x600. Asus Eeepc VGA1 1280x1024. External monitor
Layouts: (1) Works as expected LVDS1 VGA1
(2) Works as expected VGA1 LVDS1
(3) Context menu is not displayed (My usual setup) VGA1 LVDS1 (Bottom edges aligned using arandr)
(4) Context menu is displayed but pops up far away from the click. (Approx 300-400 px left of the right click.) LVDS1 VGA1 (Bottom edges aligned using arandr)
Thanks for the info, I will do some more testing.
Btw, I only support Qt 5.6.x/5.9.7/5.12.x.
I just tested 5.11.3 and still not able to replicate.
- Distro?
- X.org?
- DE/WM?
- graphics driver?
Qt 5.11.3 is currently the available version on VoidLinux. But void is a swift rolling distribution. Probably It wont take too long to switch to new qt version.
No desktop. Only tint2 and openbox. x11 intel i915.
pcmanfm-qt works as expected with identical configuration.
Tested 6.1.7 on a identical machine (netbook atom) on Ubuntu and Slackware, works here.
So...
I installed voidlinux on idepad s10e, more or less identical hardware to what you have. I installed xorg, openbox, qtfm, xterm and adwaita-icon-theme. Added openbox to xinitrc and ran startx. Then started xterm, connected an external monitor on VGA, ran xrandr --auto
, then xrandr --output VGA1 --right-of LVDS1
, then started qtfm. context menu works as it should on both screens.
Well, I'm impressed with your determination. I hope you've enjoyed Void. ;)
I'm using arandr to set the layout. In fact, xrandr --output VGA1 --left-of LVDS1
is the right command to have layout (3) above. Anyway.. After issuing
xrandr --auto xrandr --output VGA1 --left-of LVDS1
commands, my 1280x1024 monitor somehow switched on as 800x600 and qtfm now behaves as case (4). For 1280x1024, it behaves as (3) as usual.
I think the problem may (or may not) surface differently for certain combinations of resolution and layout.
Strange ... The only difference is that I used a 1920x1080 monitor, I could of course change to another monitor (I have a native 1280x1024 monitor somewhere).
You may set resolution and layout using arandr. Can you give it a try before changing your monitor?
I guess you can set them to 1024x600 and 1280x1024 even if these are not the native resolution of your display.
Will do some more testing a bit later today.