Bug 30632 - Spectacle only actually takes a screen shot after being launched an even number of times
Summary: Spectacle only actually takes a screen shot after being launched an even numb...
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 8
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Nicolas Lécureuil
QA Contact:
URL: https://bugs.kde.org/show_bug.cgi?id=...
Whiteboard:
Keywords: UPSTREAM
Depends on:
Blocks:
 
Reported: 2022-07-14 10:46 CEST by Robert Wood
Modified: 2022-07-14 19:26 CEST (History)
1 user (show)

See Also:
Source RPM: spectacle-20.12.0-2.1.mga8.src.rpm
CVE:
Status comment:


Attachments

Description Robert Wood 2022-07-14 10:46:48 CEST
Description of problem:

When launching Spectacle, if you try to take a screen shot it closes itself down. Relaunching goes straight to screenshot mode and you can take a screen shot. A third one does not work and you have to launch again. And so on. 

Version-Release number of selected component (if applicable):

20.12.0-2.1.mga8

How reproducible:

Every time

Steps to Reproduce:
1. Launch spectacle
2. Click Take a Screenshot. Program closes down
3. Launch spectacle. Program immediately goes into taking a screenshot mode. Screenshot grabbed
4.Click take a screenshot. Spectacle closes. 
5. Relaunch spectacle. Immediately in screenshot more. 
6. etc etc
Comment 1 sturmvogel 2022-07-14 11:12:02 CEST
Please start spectacle from console and post the error logs here.
Please add also additional needed informations:
- Desktop environment in use (Plasma assumed)
- Which mode do you use (full screen, active window, window under cursor, rectancle,...)
- do you have time delay activated -> it's completely normal that the main window closes until the screenshot is taken

Can't reproduce this on any of my machines (all Plasma 64bit).

Source RPM: spectacle => spectacle-20.12.0-2.1.mga8.src.rpm

Comment 2 Robert Wood 2022-07-14 11:29:41 CEST
Hi,

Yes, it's Plasma desktop on a latest gen Intel i5. 

I use it on no delay and am taking a rectangular region. 

If I start from konsole, I get no messages at all on the console window. The spectacle window disappears and the only way to get to back is CTL-C to shut down the running program. If I then relaunch I'm back into the spectacle window and clicking "Take A New Screenshot" makes the window disappear again. 

If I run:

spectacle & 

It closes down, but opening a second instance of spectacle from the command line 
enables me to take a screenshot! 

At this point, every time I re-run spectacle from the command line it immediately takes a new screenshot and clicking on the Take A New Screenshot button closes it down. 

If I do this after clicking on the button:

[robertw@localhost ~]$ ps -ef | grep spectacle
robertw    13660   12772  2 10:26 pts/5    00:00:01 spectacle
robertw    13789   12772  0 10:27 pts/5    00:00:00 grep --color spectacle


You can see there is one instance of Spectacle running, but nothing is in the toolbar at the bottom of the screen.

Summary: Spectacle on;y actually takes a screen shot after being launched and even number of times => Spectacle only actually takes a screen shot after being launched an even number of times

Comment 3 sturmvogel 2022-07-14 11:37:03 CEST
Do you use Wayland by any chance?

Assignee: bugsquad => mageia

Comment 4 sturmvogel 2022-07-14 11:39:40 CEST
There is an upstream report for spectacle 20.12.3 under Ubuntu with the same behaviour. No solution yet.
https://bugs.kde.org/show_bug.cgi?id=443398
Comment 5 Robert Wood 2022-07-14 11:44:07 CEST
[robertw@localhost ~]$ echo $XDG_SESSION_TYPE

x11

So, no. Although, for some reason, there seems to be a lot of Wayland stuff when I go into mcc installed software.
Comment 6 Robert Wood 2022-07-14 11:44:45 CEST
OK, if it's upstream I guess all we can do is wait. Thanks. :)
Comment 7 Morgan Leijström 2022-07-14 19:26:10 CEST
Nothing seem to be happening upstream...  :/

Please if you want to make a difference:
 add your experience to that bug, and refer to this Mageia bug.

Maybe that will add both more debug data, and incentive.

URL: (none) => https://bugs.kde.org/show_bug.cgi?id=443398
Keywords: (none) => UPSTREAM
CC: (none) => fri


Note You need to log in before you can comment on or make changes to this bug.