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

            Bug ID: 437652
           Summary: Spectacle sometimes fails to take a screenshot under
                    Wayland
           Product: Spectacle
           Version: 21.04.1
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: General
          Assignee: m...@baloneygeek.com
          Reporter: m...@dblsaiko.net
                CC: k...@david-redondo.de
  Target Milestone: ---

SUMMARY
Spectacle sometimes fails to take a screenshot under Wayland, I'm not sure what
causes it but if it fails once, it never works again until a restart (probably
logout/login too, but I don't do that under Wayland because of bug 433293).
This is using a "normal" KDE setup with Kwin.

STEPS TO REPRODUCE
1. ???
2. Open Spectacle
3. Take a screenshot (with any of the screenshot modes)

OBSERVED RESULT
Spectacle says "Could not take a screenshot. Please report this bug here: <link
to bug tracker>". It also prints the following to stdout every time I try
taking a screenshot:

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

EXPECTED RESULT
A screenshot is taken and appears in the preview.

SOFTWARE/OS VERSIONS
Operating System: Gentoo
KDE Plasma Version: 5.21.90
KDE Frameworks Version: 5.82.0
Qt Version: 5.15.2
Kernel Version: 5.12.6-gentoo (64-bit)
Graphics Platform: Wayland

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

Reply via email to