Bug 500336

Summary: Cannot select gif format in 6.3.1
Product: [Applications] Spectacle Reporter: zxvb12z <zxvb12z>
Component: GeneralAssignee: Noah Davis <noahadvs>
Status: RESOLVED FIXED    
Severity: normal CC: arojas, kde, nate
Priority: NOR    
Version First Reported In: git-stable-Plasma/6.3   
Target Milestone: ---   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 6.3.1.2
Sentry Crash Report:
Attachments: gif
no gif

Description zxvb12z 2025-02-18 18:59:55 UTC
SUMMARY
In the 6.3.1 update message said, that the gif support was added in Spectacle: https://kde.org/announcements/changelogs/plasma/6/6.3.0-6.3.1/ and https://invent.kde.org/graphics/spectacle/-/commit/784e539a1e0222f382a9d4aa2c9a988576368f94

I wanted to test this, but it seems that this option is not in the settings.  Need to install additional dependence?
I checked the menu for screen recording and screenshot, gif format is not in the list

STEPS TO REPRODUCE
1. start Spectacle
2. open settings
3. try select gif

OBSERVED RESULT
cant select gif format

EXPECTED RESULT
select gif format

SOFTWARE/OS VERSIONS
Linux: Manjaro 25.0
KDE Plasma Version: 6.3.1, wayland
KDE Frameworks Version: 6.11
Qt Version: 6.8.2
Nvidia video driver: 570.86.16 witch close kernel module

ADDITIONAL INFORMATION
Comment 1 zxvb12z 2025-02-18 19:09:12 UTC
Now I’ve built the git version and it’s fine, I can choose gif. 
Is it a build problem or are the necessary changes just not released?
Comment 2 zxvb12z 2025-02-18 19:14:12 UTC
Now I’ve built the git version and it’s fine, I can choose gif
Is it a build problem or are the necessary changes just not released?
Comment 3 zxvb12z 2025-02-18 19:14:53 UTC
Created attachment 178541 [details]
gif
Comment 4 zxvb12z 2025-02-18 19:15:32 UTC
Created attachment 178542 [details]
no gif
Comment 5 Nate Graham 2025-02-18 19:56:23 UTC
I see this in the code:

if (format == Gif && encoders.contains(Encoder::Gif)) {

So it looks like the version you didn't build from source was somehow compiled without GIF support. I'd recommend talking to your distro's packagers about that.
Comment 6 Antonio Rojas 2025-02-18 21:21:48 UTC
There is something weird going on here. GIF support is in the 6.3 branch, bot not in the 6.3.0 or 6.3.1 tags. Looks like spectacle is not being released from the 6.3 branch?
Comment 7 Antonio Rojas 2025-02-18 21:29:04 UTC
Indeed, 6.3.0 and 6.3.1 were released from the old release/24.12 branch