Bug 485240 - Spectacle Delay setting is not working
Summary: Spectacle Delay setting is not working
Status: RESOLVED WORKSFORME
Alias: None
Product: Spectacle
Classification: Applications
Component: General (show other bugs)
Version: 23.08.4
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Noah Davis
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-08 18:58 UTC by hoergen
Modified: 2024-12-18 10:57 UTC (History)
4 users (show)

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


Attachments
Screenshot Spectacle (86.25 KB, image/jpeg)
2024-04-08 18:58 UTC, hoergen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description hoergen 2024-04-08 18:58:11 UTC
Created attachment 168291 [details]
Screenshot Spectacle

SUMMARY

The delay in seconds is not working. Spectacle always is screenshotting immediately 

STEPS TO REPRODUCE
1.  open Spectacle
2. dial in some seconds
3.  choose any screenshot function


OBSERVED RESULT

Has absolutely no delay. Regardless what you set.

EXPECTED RESULT

should have the delay set with seconds.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma:  Tuxedo OS2 (same with Kubuntu 23.10 on my old notebook)
KDE Plasma Version:  5.27.10
KDE Frameworks Version: 5.114.0
Qt Version: 5.15.12

ADDITIONAL INFORMATION
Graphic Platform: Wayland
Comment 1 Nate Graham 2024-04-08 21:04:48 UTC
By any chance does it work if you use the app in English by running `LANGUAGE=en_US spectacle` in a terminal window?
Comment 2 Noah Davis 2024-04-08 23:52:18 UTC
I cannot reproduce this in the current supported version.
Comment 3 hoergen 2024-04-09 10:56:08 UTC
(In reply to Nate Graham from comment #1)
> By any chance does it work if you use the app in English by running
> `LANGUAGE=en_US spectacle` in a terminal window?

I tried it, but it seems that the settings are completely ignored. I set 10 seconds and as soon i click of one of the options (screen, window, rectangle/etc) it creates instantly a screenshot.
Comment 4 Nate Graham 2024-04-09 15:57:30 UTC
Thanks for checking. Can you set up a new user account and try it there? Is it broken in that new user account too, or does it work there?
Comment 5 Bug Janitor Service 2024-04-24 03:46:52 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 6 Bug Janitor Service 2024-05-09 03:45:55 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!
Comment 7 Alexander Wilms 2024-06-13 21:50:03 UTC
I can reproduce this bug.

> By any chance does it work if you use the app in English by running `LANGUAGE=en_US spectacle` in a terminal window?

No, it doesn't work. Terminal output:

LANGUAGE=en_US spectacle
libva info: VA-API version 1.21.0
libva info: Trying to open /usr/lib64/dri/iHD_drv_video.so
libva info: va_openDriver() returns -1
libva info: Trying to open /usr/lib64/dri/i965_drv_video.so
libva info: va_openDriver() returns -1
kpipewire_record_logging: VAAPI: Failed to initialize display
kpipewire_record_logging: DRM device not found
libva info: VA-API version 1.21.0
libva info: Trying to open /usr/lib64/dri/iHD_drv_video.so
libva info: va_openDriver() returns -1
libva info: Trying to open /usr/lib64/dri/i965_drv_video.so
libva info: va_openDriver() returns -1
kpipewire_record_logging: VAAPI: Failed to initialize display
kpipewire_record_logging: DRM device not found
QVariantAnimation::setDuration: cannot set a negative duration

Each time I try to create another screenshot, another "QVariantAnimation::setDuration: cannot set a negative duration" line is added, though that is probably unrelated.

Contents of "About Spectacle":
Spectacle 24.05.0
KDE Frameworks 6.3.0
Qt 6.7.1 (built against 6.7.1)
The wayland windowing system

Operating System: openSUSE Tumbleweed 20240610
KDE Plasma Version: 6.0.5
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.1
Kernel Version: 6.9.3-1-default (64-bit)
Graphics Platform: Wayland

Also, I'm using the integrated graphics chip right now.
Comment 8 Daniele E. Domenichelli 2024-12-18 10:57:01 UTC
I just hit the same issue after upgrading from KDE5 to KDE6
I got it working by deleting the following files:

 * ~/.cache/spectacle
 * ~/.config/spectaclerc
 * ~/.config/kde.org/spectacle.conf

Restoring the config files after did not replicate the issue, but I was able to reproduce it after restoring the files by running

```
/usr/lib/x86_64-linux-gnu/libexec/kf6/kconf_update --debug /usr/share/kconf_update/spectacle.upd
```

So I guess something went wrong during the update.


Anyway, just deleting these files fixed the issue for me.