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

            Bug ID: 446628
           Summary: Spectacle : Screenshot request failed: "The process is
                    not authorized to take a screenshot"
           Product: Spectacle
           Version: unspecified
          Platform: Manjaro
                OS: Linux
            Status: REPORTED
          Severity: major
          Priority: NOR
         Component: General
          Assignee: m...@baloneygeek.com
          Reporter: hasindulank...@gmail.com
                CC: k...@david-redondo.de
  Target Milestone: ---

Created attachment 144306
  --> https://bugs.kde.org/attachment.cgi?id=144306&action=edit
Spectacle window (Taken using flameshot)

SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug
symbols.
See
https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***



STEPS TO REPRODUCE

Run on konsole : spectacle

OBSERVED RESULT

No screenshot or preview on spectacle. It says "Could not take a screenshot.
Please report this bug here: create a spectacle bug"

Output on konsole : 
Screenshot request failed: "The process is not authorized to take a screenshot"
QPixmap::scaled: Pixmap is a null pixmap
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()

EXPECTED RESULT

Take a screenshot just like it used to do for years.

SOFTWARE/OS VERSIONS
██████████████████  ████████   cc@blaze 
██████████████████  ████████   -------- 
██████████████████  ████████   OS: Manjaro Linux x86_64 
██████████████████  ████████   Host: Vostro 3578 
████████                             ████████   Kernel: 5.13.19-2-MANJARO 
████████  ████████  ████████   Uptime: 8 hours, 12 mins 
████████  ████████  ████████   Packages: 1369 (pacman), 4 (flatpak), 8 (snap) 
████████  ████████  ████████   Shell: bash 5.1.8 
████████  ████████  ████████   Resolution: 1920x1080 
████████  ████████  ████████   DE: Plasma 5.23.3 
████████  ████████  ████████   WM: kwin 
████████  ████████  ████████   Theme: Breeze Dark [Plasma], Breath-Dark
[GTK2/3] 
████████  ████████  ████████   Icons: [Plasma], breeze-dark [GTK2/3] 
████████  ████████  ████████   Terminal: konsole 
                               CPU: Intel i5-8250U (8) @ 3.400GHz 
                               GPU: Intel UHD Graphics 620 
                               GPU: AMD ATI Radeon R5 M230 / R7 M260DX / Radeon
520 Mobile 
                               Memory: 2718MiB / 15869MiB 


ADDITIONAL INFORMATION

I tried other screenshot programs from pamac appstore after this issue started
happening. Gnome screenshot is not working either. But "Flameshot" works as
expected.

As mentioned here (https://gitlab.gnome.org/GNOME/gimp/-/issues/5785), I looked
into org.kde.spectacle.desktop file. It already contained
"X-KDE-DBUS-Restricted-Interfaces=org.kde.kwin.Screenshot,org.kde.KWin.ScreenShot2"
line which they tell us to add. So, I don't think it's the problem.

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

Reply via email to