https://bugs.kde.org/show_bug.cgi?id=446352

skierpage <skierp...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
     Ever confirmed|0                           |1
         Resolution|FIXED                       |---

--- Comment #4 from skierpage <skierp...@gmail.com> ---
(In reply to Stephane MANKOWSKI from comment #3)
> https://invent.kde.org/office/skrooge/commit/c7fd9964a103642227916a9eca71851795f5fa37
This fix is intended to make Skrooge not run under Wayland even when your
desktop environment uses Wayland. But it doesn't seem to work. I don't have
QT_QPA_PLATFORM set; Plasma desktop has set XDG_SESSION_TYPE=wayland ; when I
run the Skrooge master flatpak  it prints the fix's debug output
> ##Warning: disregarding XDG_SESSION_TYPE=wayland
> ##To use wayland anyway, please set QT_QPA_PLATFORM=wayland
and yet, Help > About Skrooge > Components displays "The wayland windowing
system".
This is with the flatpak "Built on Sun Mar 20 13:32:19 CET 2022" using
org.kde.Platform/x86_64/5.15 and components KDE Frameworks Version 5.88.0 and
Qt Version 5.15.3.

If I unset XDG_SESSION_TYPE, then Skrooge doesn't print this warning and does
use xcb (unless I set QT_QPA_PLATFORM as the warning suggests). Maybe the test
and `qunsetenv("XDG_SESSION_TYPE")` is occurring too late in main.cpp.

Also, the CHANGELOG notice is misleading. Repeating the title of this bug makes
the Wayland problem was fixed. Once the fix works, it would be better phrased
as
 * Workaround: Due to issues running under Wayland (bug 446352) Skrooge
defaults to using xcb unless you set QT_QPA_PLATFORM=wayland

Thanks!

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to