Bug 425715 - Rectangular Region: Spectacle sometimes hides window, but i can't select a region, when Compositor is suspended.
Summary: Rectangular Region: Spectacle sometimes hides window, but i can't select a re...
Status: RESOLVED WORKSFORME
Alias: None
Product: Spectacle
Classification: Applications
Component: General (show other bugs)
Version: 20.04.3
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Boudhayan Gupta
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-23 15:15 UTC by Mike
Modified: 2023-06-02 03:45 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike 2020-08-23 15:15:30 UTC
SUMMARY

When selecting "Rectangular Region" and pressing "Take a New Screenshot" via GUI, Spectacle sometimes goes to the background, but it doesn't let me select a region. When pressing the print button on the keyboard, it works always. When adding a delay or selecting the "On Click" option it always works. And it even sometimes works when working with the default options.
Btw. Spectacle doesn't crash. It shows up in KSysGuard.

STEPS TO REPRODUCE
1. Open Spectacle
2. Select "Rectangular Region"
3. Press "Take a New Screenshot" with the default options

OBSERVED RESULT

Spectacle hides its window, but doesn't let me select a region

EXPECTED RESULT

The screens are dimmed, and Spectacle let's me select a rectangular region.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma:  KDE Neon 5.19
(available in About System)
KDE Plasma Version: 5.19.4
KDE Frameworks Version: 5.72.0
Qt Version: 5.14.2

ADDITIONAL INFORMATION
Comment 1 Mike 2020-08-23 18:47:13 UTC
So...

I just googled another thing that bothered me. I recognized,that most of the animations on my system are gone. After googling, what the problem could be, someone suggested checking compositor settings. I check mine, found that Rendering backend was set to OpenGL 2.0 and i changed it to OpenGL 3.1. Because newer versions are always better :D. After changing the rendering backend, the animations are fixed now. I also checked Spectacle and it is working again. Even when returning to OpenGL 2.0 everything seems to be working again.

While writing this comment I discovered the following: When suspending the compositor with 
qdbus org.kde.KWin /Compositor suspend

the behavior is as i described in the bug report, when enabling it again the behavior is as normal. So I think something must have been disabling my Compositor.
Comment 2 Mike 2020-08-23 18:48:57 UTC
(In reply to Mike from comment #1)
> So...
> 
> I just googled another thing that bothered me. I recognized,that most of the
> animations on my system are gone. After googling, what the problem could be,
> someone suggested checking compositor settings. I check mine, found that
> Rendering backend was set to OpenGL 2.0 and i changed it to OpenGL 3.1.
> Because newer versions are always better :D. After changing the rendering
> backend, the animations are fixed now. I also checked Spectacle and it is
> working again. Even when returning to OpenGL 2.0 everything seems to be
> working again.
> 
> While writing this comment I discovered the following: When suspending the
> compositor with 
> qdbus org.kde.KWin /Compositor suspend
> 
> the behavior is as i described in the bug report, when enabling it again the
> behavior is as normal. So I think something must have been disabling my
> Compositor.

I changed the title accordingly (added suspended Compositor)
Comment 3 ChrisD 2020-11-27 07:12:52 UTC
Same issue until compositor changed. Also doesn't occur after changing compositor to previous setting. Very frustrating bug.

Operating System: Kubuntu 20.10
KDE Plasma Version: 5.19.5
KDE Frameworks Version: 5.74.0
Qt Version: 5.14.2
Kernel Version: 5.8.0-29-generic
OS Type: 64-bit
Processors: 12 × Intel® Xeon® CPU E5-1650 v2 @ 3.50GHz
Memory: 31.3 GiB of RAM
Graphics Processor: Radeon RX 580 Series
Comment 4 Razathorn 2020-12-19 17:52:47 UTC
I also am experiencing this.  It was very strange as I use this function all the time.  This was on a raspberry pi manjaro arm install with compositing turned off (as I always turn it off so 60fps hardware decode video works well).  I verified that if I turn the compositor on, it does indeed work correctly, but it honestly feels like a race condition, like with no delay, the window manager changes happen so quickly that something is logically broken.  I tried leaving composition ON and setting animation speeds to "instant" and it worked fine with no delay there as well, just with no composition, it fails at zero delay.  1 second makes it work fine with no composition, so that's the workaround for me.  Almost entered a duplicate bug but the bugtracker stopped me dead in my tracks ;)
Comment 5 CnZhx 2022-05-26 00:56:07 UTC
It is my first experience on this issue after doing a system update (upgrade for Tumbleweed). And this issue disappears after toggling on and off the compositor.

My system:
openSUSE Tumbleweed: 20220523
KDE Plasma: 5.24.5
Qt: 5.15.2
KDE Frameworks: 5.94.0
KDE Applications: 22.04.1
Kernel: 5.17.9-1-default
Comment 6 Noah Davis 2023-05-03 00:37:47 UTC
Is this still a problem with 23.04?
Comment 7 Mike 2023-05-03 05:47:18 UTC
I currently don't use KDE Neon anymore. So I can't say for sure. I'm running Kubuntu and Manjaro on two different machines which both have Spectacle 22.12. But I haven't experienced this problem in a long time.
Comment 8 Bug Janitor Service 2023-05-18 03:46:08 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 9 Bug Janitor Service 2023-06-02 03:45:20 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!