[Spectacle] [Bug 446628] New: Spectacle : Screenshot request failed: "The process is not authorized to take a screenshot"
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.
[Spectacle] [Bug 446628] Spectacle : Screenshot request failed: "The process is not authorized to take a screenshot"
https://bugs.kde.org/show_bug.cgi?id=446628 --- Comment #1 from hasindu --- Created attachment 144307 --> https://bugs.kde.org/attachment.cgi?id=144307&action=edit System info and konsole output for "spectacle" -- You are receiving this mail because: You are watching all bug changes.
[Spectacle] [Bug 446628] Spectacle : Screenshot request failed: "The process is not authorized to take a screenshot"
https://bugs.kde.org/show_bug.cgi?id=446628 hasindu changed: What|Removed |Added Version|unspecified |21.11.90 -- You are receiving this mail because: You are watching all bug changes.
[Spectacle] [Bug 446628] Spectacle : Screenshot request failed: "The process is not authorized to take a screenshot"
https://bugs.kde.org/show_bug.cgi?id=446628 hasindu changed: What|Removed |Added CC||hasindulank...@gmail.com -- You are receiving this mail because: You are watching all bug changes.
[Spectacle] [Bug 446628] Spectacle : Screenshot request failed: "The process is not authorized to take a screenshot"
https://bugs.kde.org/show_bug.cgi?id=446628 --- Comment #2 from hasindu --- In the original post I said, "Run on konsole : spectacle". But, the error also occurs when I click Spectacle icon from App launcher and desktop icon. -- You are receiving this mail because: You are watching all bug changes.
[Spectacle] [Bug 446628] Spectacle : Screenshot request failed: "The process is not authorized to take a screenshot"
https://bugs.kde.org/show_bug.cgi?id=446628 --- Comment #4 from hasindu --- (In reply to Nate Graham from comment #3) > Was there an existing `spectacle` process running in the background? If so, > does the problem go away if you terminate it and then try again? Tried running spectacle as the first thing after boot up - same result. System monitor / htop do not show any left over processes after closing spectacle. Tried closing/re-opening spectacle multiple times - same result. Tried, `pkill -9 spectacle ; spectacle` - same result. This issue appeared about 5 days ago. -- You are receiving this mail because: You are watching all bug changes.
[Spectacle] [Bug 446628] Spectacle : Screenshot request failed: "The process is not authorized to take a screenshot"
https://bugs.kde.org/show_bug.cgi?id=446628 hasindu changed: What|Removed |Added Status|NEEDSINFO |RESOLVED Resolution|WAITINGFORINFO |FIXED --- Comment #6 from hasindu --- (In reply to Paul Worrall from comment #5) > Comment 1 on bug #446032 offers some possible clues: do you have a > spectacle .desktop file in ~/.local/share/applications (if so, delete it) Yeah, I had ~/.local/share/applications/org.kde.spectacle.desktop and deleted it. Now Spectacle is working properly. Thank you very much guys. For more info : Spectacle was the only KDE app inside ~/.local/share/applications ~/.local/share/applications/org.kde.spectacle.desktop was similar to /usr/share/applications/org.kde.spectacle.desktop apart from the following diffs > diff ~/.local/share/applications/org.kde.spectacle.desktop > /usr/share/applications/org.kde.spectacle.desktop 1d0 <- # converted by firecfg 29c28 <- GenericName[pl]=Narzędzie do przechwytywania ekranu --- -> GenericName[pl]=Narzędzie do zrzutów ekranu 45c44 <- GenericName[zh_CN]=屏幕截取工具 --- -> GenericName[zh_CN]=屏幕截图工具 113c112 <- Comment[pl]=Narzędzie do przechwytywania ekranu --- -> Comment[pl]=Narzędzie do zrzutów ekranu 124c123 <- Comment[zh_CN]=屏幕截取工具 --- -> Comment[zh_CN]=屏幕截图工具 158c157 <- Keywords[ta]=snapshot;capture;print;screenshot;snipping;snip;திரைப்பிடிப்பு,படமெடு;அச்சு;அச்சிடு;வெட்டு;திரைப்படம்;படம்;பதிவு; --- -> Keywords[ta]=snapshot;capture;print;screenshot;snipping;snip;திரைப்பிடிப்பு;படமெடு;அச்சு;அச்சிடு;வெட்டு;திரைப்படம்;படம்;பதிவு; 163c162 <- Exec=spectacle --- -> Exec=/usr/bin/spectacle 200c199 <- Name[pl]=Przechwyć cały pulpit --- -> Name[pl]=Zrzuć cały pulpit 218c217 <- Exec=spectacle org.kde.Spectacle / FullScreen false --- -> Exec=/usr/bin/qdbus org.kde.Spectacle / FullScreen false 247c246 <- Name[pl]=Przechwyć bieżący monitor --- -> Name[pl]=Zrzuć bieżący monitor 265c264 <- Exec=spectacle org.kde.Spectacle / CurrentScreen false --- -> Exec=/usr/bin/qdbus org.kde.Spectacle / CurrentScreen false 294c293 <- Name[pl]=Przechwyć aktywne okno --- -> Name[pl]=Zrzuć bieżące okno 312c311 <- Exec=spectacle org.kde.Spectacle / ActiveWindow true false --- -> Exec=/usr/bin/qdbus org.kde.Spectacle / ActiveWindow true false 341c340 <- Name[pl]=Przechwyć obszar prostokątny --- -> Name[pl]=Zrzuć obszar prostokątny 359c358 <- Exec=spectacle org.kde.Spectacle / RectangularRegion true --- -> Exec=/usr/bin/qdbus org.kde.Spectacle / RectangularRegion true 382c381 <- Name[pl]=Przechwyć okno pod wskaźnikiem --- -> Name[pl]=Zrzuć okno pod wskaźnikiem 394c393 <- Exec=spectacle org.kde.Spectacle / WindowUnderCursor true false --- -> Exec=/usr/bin/qdbus org.kde.Spectacle / WindowUnderCursor true false So, the one inside ~/.local/share/applications/org.kde.spectacle.desktop was clearly from another version of kde and started with `# converted by firecfg` I installed firejail a few weeks back, but I didn't use it for spectacle or any kde related apps. How could that happen? Spectacle was working fine before. (In reply to Paul Worrall from comment #5) > and does your have the > config line given in that comment? Yes, both have the same line `X-KDE-DBUS-Restricted-Interfaces=org.kde.kwin.Screenshot,org.kde.KWin.ScreenShot2` Again, now my issue is fixed and thanks for making the world a better place ❤️ -- You are receiving this mail because: You are watching all bug changes.
[Spectacle] [Bug 446628] Spectacle : Screenshot request failed: "The process is not authorized to take a screenshot"
https://bugs.kde.org/show_bug.cgi?id=446628 --- Comment #7 from hasindu --- File : ~/.local/share/applications/org.kde.spectacle.desktop # converted by firecfg [Desktop Entry] GenericName=Screenshot Capture Utility GenericName[ar]=أداة لأخذ اللقطات GenericName[az]=Ekran şəkli çəkmə aləti GenericName[bg]=Инструмент за заснемане на екрана GenericName[ca]=Utilitat de captura de pantalla GenericName[ca@valencia]=Utilitat de captura de pantalla GenericName[cs]=Nástroj na snímání obrazovky GenericName[da]=Værktøj til skærmbilleder GenericName[de]=Dienstprogramm für Bildschirmfotos GenericName[el]=Εργαλείο λήψης στιγμιοτύπων οθόνης GenericName[en_GB]=Screenshot Capture Utility GenericName[es]=Utilidad de capturas de pantalla GenericName[et]=Ekraani pildistamise tööriist GenericName[eu]=Pantaila-argazkiak atzemateko baliagarritasuna GenericName[fi]=Kuvankaappaustyökalu GenericName[fr]=Utilitaire de capture d'écran GenericName[gl]=Utilidade para facer capturas de pantalla GenericName[he]=כלי לצילום מסך GenericName[ia]=Utilitate de captura de instantaneo de schermo GenericName[id]=Utilitas Tangkapan Screenshot GenericName[it]=Accessorio per catturare schermate GenericName[ko]=화면 캡처 유틸리티 GenericName[lt]=Ekrano kopijų darymo programa GenericName[nl]=Hulpmiddel voor het maken van een schermafdruk GenericName[nn]=Verktøy for å lagra skjermbilete GenericName[pa]=ਸਕਰੀਨਸ਼ਾਟ ਲੈਣ ਵਾਲੀ ਸਹੂਲਤ GenericName[pl]=Narzędzie do przechwytywania ekranu GenericName[pt]=Utilitário de Captura de Imagens GenericName[pt_BR]=Utilitário de captura de tela GenericName[ro]=Utilitar de capturare a ecranului GenericName[ru]=Создание снимков экрана GenericName[sk]=Nástroj na zachytenie snímky obrazovky GenericName[sl]=Pripomoček za zajem zaslona GenericName[sr]=Алатка за хватање снимака екрана GenericName[sr@ijekavian]=Алатка за хватање снимака екрана GenericName[sr@ijekavianlatin]=Alatka za hvatanje snimaka ekrana GenericName[sr@latin]=Alatka za hvatanje snimaka ekrana GenericName[sv]=Verktyg för att ta skärmbilder GenericName[ta]=திரைப்பிடிப்பு செயலி GenericName[tr]=Ekran Görüntüsü Yakalama Aracı GenericName[uk]=Програма для створення знімків екрана GenericName[x-test]=xxScreenshot Capture Utilityxx GenericName[zh_CN]=屏幕截取工具 GenericName[zh_TW]=畫面擷取工具 Name=Spectacle Name[ar]=لاقط الشاشة Name[az]=Spectacle Name[ca]=Spectacle Name[ca@valencia]=Spectacle Name[cs]=Spectacle Name[da]=Spectacle Name[de]=Spectacle Name[el]=Spectacle Name[en_GB]=Spectacle Name[es]=Spectacle Name[et]=Spectacle Name[eu]=Spectacle Name[fi]=Spectacle Name[fr]=Spectacle Name[gl]=Spectacle Name[ia]=Spectacle Name[id]=Spectacle Name[it]=Spectacle Name[ko]=Spectacle Name[lt]=Spectacle Name[nl]=Spectacle Name[nn]=Spectacle Name[pa]=ਸਪੈਕਟਾਕਲ Name[pl]=Spectacle Name[pt]=Spectacle Name[pt_BR]=Spectacle Name[ro]=Spectacle Name[ru]=Spectacle Name[sk]=Spectacle Name[sl]=Spectacle Name[sr]=Спектакл Name[sr@ijekavian]=Спектакл Name[sr@ijekavianlatin]=Spectacle Name[sr@latin]=Spectacle Name[sv]=Spectacle Name[ta]=ஸ்பெக்டக்குல் Name[tr]=Spectacle Name[uk]=Spectacle Name[x-test]=xxSpectaclexx Name[zh_CN]=Spectacle Name[zh_TW]=Spectacle Comment=Screenshot capture utility Comment[ar]=أداة التقاط صور الشاشة Comment[az]=Ekran şəkli çəkmə aləti Comment[ca]=Utilitat per a prendre captures de pantalla Comment[ca@valencia]=Utilitat per a prendre captures de pantalla Comment[cs]=Nástroj na snímání obrazovky Comment[da]=Værktøj til skærmbilleder Comment[de]=Dienstprogramm für Bildschirmfotos Comment[el]=Εργαλείο λήψης στιγμιοτύπων οθόνης Comment[en_GB]=Screenshot capture utility Comment[es]=Utilidad de captura de pantalla Comment[et]=Ekraanipildi tegemise tööriist Comment[eu]=Pantaila-argazkiak atzemateko baliagarritasuna Comment[fi]=Kuvankaappaustyökalu Comment[fr]=Utilitaire de capture d'écran Comment[gl]=Utilidade para facer capturas de pantalla Comment[ia]=Utilitate de captura de instantaneo Comment[id]=Utilitas Tangkapan Screenshot Comment[it]=Accessorio per catturare schermate Comment[ko]=화면 캡처 유틸리티 Comment[lt]=Ekrano kopijų darymo programa Comment[nl]=Hulpmiddel voor het maken van een schermafdruk Comment[nn]=Verktøy for å lagra skjermbilete Comment[pa]=ਸਕਰੀਨਸ਼ਾਟ ਲੈਣ ਵਾਲੀ ਸਹੂਲਤ Comment[pl]=Narzędzie do przechwytywania ekranu Comment[pt]=Utilitário de captura de imagens do ecrã Comment[pt_BR]=Utilitário de captura de tela Comment[ro]=Utilitar de capturare a ecranului Comment[ru]=Программа для создания снимков экрана Comment[sk]=Nástroj na zachytenie snímky obrazovky Comment[sl]=Orodje za zajem zaslona Comment[sv]=Verktyg för att ta skärmbilder Comment[ta]=திரைப்பிடிப்பு செயலி Comment[uk]=Програма для створення знімків екрана Comment[x-test]=xxScreenshot capture utilityxx Comment[zh_CN]=屏幕截取工具 Comment[zh_TW]=畫面擷取工具 Categories=Qt;KDE;Utility; Keywords=snapshot;capture;print;screenshot;snipping;snip; Keywords[ar]=لقطة;صورة;طباعة;شاشة;لقطة شاشة;قصاصة; Keywords[az]=snapshot;capture;print;screenshot;snipping;snip;ekran şəkli;çap;kəsmək;kəsik;anlıq görüntü;skrinşot; Keywords[ca]=
[Spectacle] [Bug 446628] Spectacle : Screenshot request failed: "The process is not authorized to take a screenshot"
https://bugs.kde.org/show_bug.cgi?id=446628 --- Comment #8 from hasindu --- File : /usr/share/applications/org.kde.spectacle.desktop [Desktop Entry] GenericName=Screenshot Capture Utility GenericName[ar]=أداة لأخذ اللقطات GenericName[az]=Ekran şəkli çəkmə aləti GenericName[bg]=Инструмент за заснемане на екрана GenericName[ca]=Utilitat de captura de pantalla GenericName[ca@valencia]=Utilitat de captura de pantalla GenericName[cs]=Nástroj na snímání obrazovky GenericName[da]=Værktøj til skærmbilleder GenericName[de]=Dienstprogramm für Bildschirmfotos GenericName[el]=Εργαλείο λήψης στιγμιοτύπων οθόνης GenericName[en_GB]=Screenshot Capture Utility GenericName[es]=Utilidad de capturas de pantalla GenericName[et]=Ekraani pildistamise tööriist GenericName[eu]=Pantaila-argazkiak atzemateko baliagarritasuna GenericName[fi]=Kuvankaappaustyökalu GenericName[fr]=Utilitaire de capture d'écran GenericName[gl]=Utilidade para facer capturas de pantalla GenericName[he]=כלי לצילום מסך GenericName[ia]=Utilitate de captura de instantaneo de schermo GenericName[id]=Utilitas Tangkapan Screenshot GenericName[it]=Accessorio per catturare schermate GenericName[ko]=화면 캡처 유틸리티 GenericName[lt]=Ekrano kopijų darymo programa GenericName[nl]=Hulpmiddel voor het maken van een schermafdruk GenericName[nn]=Verktøy for å lagra skjermbilete GenericName[pa]=ਸਕਰੀਨਸ਼ਾਟ ਲੈਣ ਵਾਲੀ ਸਹੂਲਤ GenericName[pl]=Narzędzie do zrzutów ekranu GenericName[pt]=Utilitário de Captura de Imagens GenericName[pt_BR]=Utilitário de captura de tela GenericName[ro]=Utilitar de capturare a ecranului GenericName[ru]=Создание снимков экрана GenericName[sk]=Nástroj na zachytenie snímky obrazovky GenericName[sl]=Pripomoček za zajem zaslona GenericName[sr]=Алатка за хватање снимака екрана GenericName[sr@ijekavian]=Алатка за хватање снимака екрана GenericName[sr@ijekavianlatin]=Alatka za hvatanje snimaka ekrana GenericName[sr@latin]=Alatka za hvatanje snimaka ekrana GenericName[sv]=Verktyg för att ta skärmbilder GenericName[ta]=திரைப்பிடிப்பு செயலி GenericName[tr]=Ekran Görüntüsü Yakalama Aracı GenericName[uk]=Програма для створення знімків екрана GenericName[x-test]=xxScreenshot Capture Utilityxx GenericName[zh_CN]=屏幕截图工具 GenericName[zh_TW]=畫面擷取工具 Name=Spectacle Name[ar]=لاقط الشاشة Name[az]=Spectacle Name[ca]=Spectacle Name[ca@valencia]=Spectacle Name[cs]=Spectacle Name[da]=Spectacle Name[de]=Spectacle Name[el]=Spectacle Name[en_GB]=Spectacle Name[es]=Spectacle Name[et]=Spectacle Name[eu]=Spectacle Name[fi]=Spectacle Name[fr]=Spectacle Name[gl]=Spectacle Name[ia]=Spectacle Name[id]=Spectacle Name[it]=Spectacle Name[ko]=Spectacle Name[lt]=Spectacle Name[nl]=Spectacle Name[nn]=Spectacle Name[pa]=ਸਪੈਕਟਾਕਲ Name[pl]=Spectacle Name[pt]=Spectacle Name[pt_BR]=Spectacle Name[ro]=Spectacle Name[ru]=Spectacle Name[sk]=Spectacle Name[sl]=Spectacle Name[sr]=Спектакл Name[sr@ijekavian]=Спектакл Name[sr@ijekavianlatin]=Spectacle Name[sr@latin]=Spectacle Name[sv]=Spectacle Name[ta]=ஸ்பெக்டக்குல் Name[tr]=Spectacle Name[uk]=Spectacle Name[x-test]=xxSpectaclexx Name[zh_CN]=Spectacle Name[zh_TW]=Spectacle Comment=Screenshot capture utility Comment[ar]=أداة التقاط صور الشاشة Comment[az]=Ekran şəkli çəkmə aləti Comment[ca]=Utilitat per a prendre captures de pantalla Comment[ca@valencia]=Utilitat per a prendre captures de pantalla Comment[cs]=Nástroj na snímání obrazovky Comment[da]=Værktøj til skærmbilleder Comment[de]=Dienstprogramm für Bildschirmfotos Comment[el]=Εργαλείο λήψης στιγμιοτύπων οθόνης Comment[en_GB]=Screenshot capture utility Comment[es]=Utilidad de captura de pantalla Comment[et]=Ekraanipildi tegemise tööriist Comment[eu]=Pantaila-argazkiak atzemateko baliagarritasuna Comment[fi]=Kuvankaappaustyökalu Comment[fr]=Utilitaire de capture d'écran Comment[gl]=Utilidade para facer capturas de pantalla Comment[ia]=Utilitate de captura de instantaneo Comment[id]=Utilitas Tangkapan Screenshot Comment[it]=Accessorio per catturare schermate Comment[ko]=화면 캡처 유틸리티 Comment[lt]=Ekrano kopijų darymo programa Comment[nl]=Hulpmiddel voor het maken van een schermafdruk Comment[nn]=Verktøy for å lagra skjermbilete Comment[pa]=ਸਕਰੀਨਸ਼ਾਟ ਲੈਣ ਵਾਲੀ ਸਹੂਲਤ Comment[pl]=Narzędzie do zrzutów ekranu Comment[pt]=Utilitário de captura de imagens do ecrã Comment[pt_BR]=Utilitário de captura de tela Comment[ro]=Utilitar de capturare a ecranului Comment[ru]=Программа для создания снимков экрана Comment[sk]=Nástroj na zachytenie snímky obrazovky Comment[sl]=Orodje za zajem zaslona Comment[sv]=Verktyg för att ta skärmbilder Comment[ta]=திரைப்பிடிப்பு செயலி Comment[uk]=Програма для створення знімків екрана Comment[x-test]=xxScreenshot capture utilityxx Comment[zh_CN]=屏幕截图工具 Comment[zh_TW]=畫面擷取工具 Categories=Qt;KDE;Utility; Keywords=snapshot;capture;print;screenshot;snipping;snip; Keywords[ar]=لقطة;صورة;طباعة;شاشة;لقطة شاشة;قصاصة; Keywords[az]=snapshot;capture;print;screenshot;snipping;snip;ekran şəkli;çap;kəsmək;kəsik;anlıq görüntü;skrinşot; Keywords[ca]=captura de pantalla;captura;imprimeix;impressió; K