I launch a QT5 program in an appvm but can’t interact with it using pointers. Sadly the GTK filepicker isn’t particularly friendly for keyboard users. (Can’t enable stuff like show dotfiles)
Whenever I click into it, the clicks go into the titlebar of an XFCE Terminal tab below it. It does not matter if the program was launched from that terminal or not.
As if the current window is invisible to the pointer.
Extra details: I use an external monitor that is hi dpi.
Whenever I add it XFCE goes into weird scaling behaviour.
Thats why I deactivate the internal monitor and set only the external one active.
But still happens.
The focus issue does not happen with internal monitor as primary.
It seems the virtual pixel coordinates are to blame. Depending on where in that virtual “space” the internal monitor is, the pointer is at an offset. In my first case the offset was so far left up that it was always in that terminal tab.
How could I fix this phenomenon generally?
EDIT: Even with both displays active, I can’t arrange them in a way that QT5 things have the correct coordinate mapping. I will need to use the internal display only to use them.