[Spectacle] [Bug 451242] "Could not take a screenshot" error

2022-03-23 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=451242

Nate Graham  changed:

   What|Removed |Added

 Resolution|WORKSFORME  |FIXED

--- Comment #6 from Nate Graham  ---
I had a feeling it was going to be something like that. :)

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

[Spectacle] [Bug 451242] "Could not take a screenshot" error

2022-03-23 Thread Lyubomir
https://bugs.kde.org/show_bug.cgi?id=451242

Lyubomir <88zo26...@mozmail.com> changed:

   What|Removed |Added

 Status|REPORTED|RESOLVED
 Resolution|--- |WORKSFORME

--- Comment #5 from Lyubomir <88zo26...@mozmail.com> ---
Removing the .desktop file that was converted by Firejail fixed it! Strange as
I was not using the .desktop but was launching directly using the terminal, I
think the command inside the .desktop file should not have been executed...

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

[Spectacle] [Bug 451242] "Could not take a screenshot" error

2022-03-22 Thread Lyubomir
https://bugs.kde.org/show_bug.cgi?id=451242

--- Comment #4 from Lyubomir <88zo26...@mozmail.com> ---
I've opened this discussion about FireJail:
https://github.com/netblue30/firejail/discussions/5063

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

[Spectacle] [Bug 451242] "Could not take a screenshot" error

2022-03-22 Thread Lyubomir
https://bugs.kde.org/show_bug.cgi?id=451242

Lyubomir <88zo26...@mozmail.com> changed:

   What|Removed |Added

 Resolution|WAITINGFORINFO  |---
 Status|NEEDSINFO   |REPORTED

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

[Spectacle] [Bug 451242] "Could not take a screenshot" error

2022-03-22 Thread Lyubomir
https://bugs.kde.org/show_bug.cgi?id=451242

--- Comment #3 from Lyubomir <88zo26...@mozmail.com> ---
That's the issue, I don't see it being sandboxed. I launch it from the terminal
with ./spectacle from the /usr/bin folder. spectacle file there is an
executable, not some link or shell script. Also in the System activity, I don't
see it launched with some options. I don't think it is sandboxed, I removed the
AppArmor profile from firejail and it is neither loaded nor active. AFAIK
AppArmor profile and changing of executables with links to firejail executable
is how it works. I've disabled this and still I have this issue. Is there some
way (say a log...) I could diagnose what's blocking it?

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

[Spectacle] [Bug 451242] "Could not take a screenshot" error

2022-03-22 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=451242

Nate Graham  changed:

   What|Removed |Added

 Resolution|--- |WAITINGFORINFO
 Status|REPORTED|NEEDSINFO
 CC||n...@kde.org

--- Comment #2 from Nate Graham  ---
So you're running Spectacle in Firejail or something? If so that might cause
it. There is special code in Spectacle and KWin to communicate with one
another, but only if the Spectacle binary can be correctly identified. It's
quit possible that the sandboxing method you're using is interfering with that.

Does it work if you stop sandboxing it with Firejail?

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

[Spectacle] [Bug 451242] "Could not take a screenshot" error

2022-03-07 Thread Lyubomir
https://bugs.kde.org/show_bug.cgi?id=451242

--- Comment #1 from Lyubomir <88zo26...@mozmail.com> ---
FWIW launching from terminal gives

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

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