regolith-linux / regolith-desktop

Meta package for the Regolith Desktop Environment
1.5k stars 31 forks source link

File dialogue not working on wayland, when on the same desktop #1057

Open gfm-rock-solid opened 2 weeks ago

gfm-rock-solid commented 2 weeks ago

This might be the same problem as #1027

System: Most recent regolith on Debian bookworm Texmaker > save file as > file dialogue opens

Behaviour: Screen splits, Texmaker to the left, file dialogue to the right. I can't change the filename. I can click around in the file dialogue and it reacts, but when I try to change the file name, it doesn't work. It looks like the main window is stealing the window focus briefly. When I click the file name repeatedly, the cursor in the main window blinks. That should never happen.

Workaround: Beam the file dialogue to another desktop. There it works as expected.

Not-workaround: Switch to floating via ctrl+f didn't help

Expected behaviour: I can click the file name and insert another name on the key board.

Suspicion: It might be related to the security of wayland. As the file dialogue is a child window of the main texmaker window. When I send it to another desktop, it isn't a child any more (at least I think so). But this is a lay guess.

gfm-rock-solid commented 2 weeks ago

Btw.: Thanks for regolith-desktop. I really appreciate it.