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

            Bug ID: 451122
           Summary: Could not take screenshot under Wayland
           Product: Spectacle
           Version: 20.12.3
          Platform: Debian stable
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: General
          Assignee: m...@baloneygeek.com
          Reporter: myndstr...@protonmail.ch
                CC: k...@david-redondo.de
  Target Milestone: ---

SUMMARY
Under Debian11/KDE with Wayland Spectacle couldn't take screenshots. It may
work with newer versions and it did work previously. Console output is below.

GNOME screenshot didn't work either (issue here
https://gitlab.gnome.org/GNOME/gnome-screenshot/-/issues/201) but kazam worked
well. Kazam did have lots of errors in the console, including
libwnck is designed to work in X11 only, no valid display found
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/kazam/frontend/window_select.py", line
111, in cb_button_press_event
    screen.force_update()
AttributeError: 'NoneType' object has no attribute 'force_update'

STEPS TO REPRODUCE
1. On Debian11/KDE run spectacle in the console
2. It usually works but it didn't now, it is unclear how to reproduce it

OBSERVED RESULT
This is the output in the console:

libpng error: Read Error
QPixmap::scaled: Pixmap is a null pixmap
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
QPixmap::scaled: Pixmap is a null pixmap
libpng error: Read Error
QPixmap::scaled: Pixmap is a null pixmap
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()

EXPECTED RESULT
Screenshoting regions and fullscreen should work.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Debian 11
KDE Plasma Version: 5.20.5
KDE Frameworks Version: 5.78.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION

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

Reply via email to