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

Nate Graham <n...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
             Status|REPORTED                    |CONFIRMED

--- Comment #13 from Nate Graham <n...@kde.org> ---
Found the reason why Discord works for me when launched using GUI methods: I
had a local override of Discord's .desktop file in ~/.local/share/applications
that had "--force-device-scale-factor=2" appended to its CLI args. This works
around the problem and was probably a leftover from before we had XWayland
client scaling, and I set it to make Discord look better and then forgot about
it.

So when I wrote
https://invent.kde.org/plasma/plasma-workspace/-/commit/63de3d6f1716a6924fa5924b5a57af4abaa4460f,
I didn't notice that it had regressed XWayland-using Electron apps because the
only such app I interact with had been locally configured to work around the
bug. Oops.

This is probably a bug in Electron, as other XWayland-using apps don't seem to
require GDK_SCALE=1 to be set in the environment to be scaled properly under
XWayland. But it's probably not reasonable to expect it to be fixed anytime
soon given the glacial pace of development and general lack of attention paid
to Linux as a platform.

Nevertheless I'll report the bug upstream and restore the workaround in our
code, with a comment explaining why it's needed.

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

Reply via email to