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

--- Comment #30 from Luiz Angelo De Luca <luizl...@gmail.com> ---
(In reply to Andrés B.S. from comment #26)
> Not sure what the connection between this and the issue is, but I found out
> that the bug can be worked-around by launching spectacle as:
> QT_QPA_PLATFORM=wayland spectacle
> 
> On Wayland, it seems to prefer xcb. Rectangular selection was working on the
> XOrg session.
> 
> What I found out too, is that Spectacle itself would be part of the
> screenshot when doing rectangular selection, it would be sometimes caught in
> the middle of the animation (IIRC the effect is called "Scale").
> 
> Also, just a reminder that we currently have two Wayland sessions for
> openSUSE:
> "Full Wayland" forces QT_QPA_PLATFORM=GDK_BACKEND=wayland, while the
> "Wayland" session doesn't touch QT_QPA_PLATFORM. This issue does not happen
> on the Full Wayland for the reason mentioned above.

If someone wants to use the workaround but keep it working in X11 as well, I
suggest:

  QT_QPA_PLATFORM="wayland;xcb" spectacle

Or as an argument:

 spectacle -platform 'wayland;xcb'

The argument should be suitable for .desktop files. However, changing
org.kde.spectacle.desktop gets kwin angry:

 spectacle[16738]: Error calling KWin DBus interface:
"org.kde.kwin.Screenshot.Error.NoAuthorized" "The process is not authorized to
take a screenshot"

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

Reply via email to