On Sat, Jul 25, 2020 at 03:18:50PM +0100, Laurence Tratt wrote:
> Under XFCE, at least a couple of programs don't display file open dialogue
> boxes correct. For example, if I load "shotcut" and press "Ctrl-O", I get a
> blank window instead of a file chooser, and the whole program becomes stuck.
> kdenlive also has the same problem.
> 
> The problem seems to be related to this message from a few years back:
> 
>   https://marc.info/?l=openbsd-ports&m=151397647426167&w=2
> 
> On XFCE this variable is set as follows:
> 
>   $ echo $XDG_CURRENT_DESKTOP
>   XFCE
> 
> In the case of shotcut, I need, at a minimum, to do:
> 
>   $ XDG_CURRENT_DESKTOP= shotcut
> 
> in order for shotcut to work. But, weirdly, on another machine (with a
> more-or-less identical setup), that isn't enough and I need to do:
> 
>   $ XDG_CURRENT_DESKTOP=kde shotcut
> 
> or otherwise set XDG_CURRENT_DESKTOP to some value other than XFCE or "" in
> order for things to work.
> 
> I *think* (but might have misunderstood) that some programs have previously
> been patched so that they do "the right thing" for different values of
> XDG_CURRENT_DESKTOP, so I'm not clear if there's a general solution or not.
> If there isn't, and if programs such as shotcut and kdenlive continue to have
> problems, hopefully this message might help someone else work out how to get
> them working, albeit not in the most satisfactory manner!

All qt5 apps are affected, see
https://marc.info/?l=openbsd-ports&m=158382166823558&w=2. My workaround
is to set a different theme than gtk3 via qt5ct.

Landry

Reply via email to