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

hasindu <hasindulank...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDSINFO                   |RESOLVED
         Resolution|WAITINGFORINFO              |FIXED

--- Comment #6 from hasindu <hasindulank...@gmail.com> ---
(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 </usr/share/applications/org.kde.spectacle.desktop> 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.

Reply via email to