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

            Bug ID: 404983
           Summary: Spectacle cannot take screenshots in QPainter
           Product: Spectacle
           Version: 17.12.3
          Platform: openSUSE RPMs
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: General
          Assignee: m...@baloneygeek.com
          Reporter: e...@linuxmail.org
  Target Milestone: ---

SUMMARY
When running Plasma Desktop under Wayland with the QPainter compositor
(KWIN_COMPOSE=Q), Spectacle cannot take screenshots.

STEPS TO REPRODUCE
1. Boot to the CLI with systemd.unit=multi-user.target
2. Launch Plasma Desktop with XDG_SESSION_TYPE=wayland KWIN_COMPOSE=Q
dbun-run-session /usr/bin/startplasmacompositor
3. Launch Spectacle.


OBSERVED RESULT
Spectacle window appears with no screenshot; pressing 'Take a new screenshot'
returns nothing. Trying to save results in a 'Cannot save an empty screenshot'
error.

EXPECTED RESULT
A screenshot is taken

SOFTWARE/OS VERSIONS
OpenSUSE Leap 15.0
KDE Plasma Version: v5.12.2
KDE Frameworks Version: v5.45.0
Qt Version: v5.9.4

ADDITIONAL INFORMATION
1. Spectacle successfully takes screenshots when the default OpenGL compositor
is used under Wayland, but since Nouveau locks up the entire system when Plasma
Wayland is launched it has to be done with nouveau.noaccel=1, and LLVMPIPE is
completely unusable for daily computing due to how painfully slow it is.
2. When launching Spectacle from the command line under the QPainter compositor
and trying to take a screenshot, the following warnings are shown:
- QPixmap::scaled: Pixmap is a null pixmap
- Unexpected wl_surface.enter received for output with id: 11 screen name:
"HDMI-A-1-LEN T23i-10/V300NG74" screen model: ""

HDMI-A-1-LEN T23i-10/V300NG74 is the identity Plasma has for my monitor.

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

Reply via email to