Bug 478841 - Spectacle's UI doesn't display anymore on X11
Summary: Spectacle's UI doesn't display anymore on X11
Status: RESOLVED FIXED
Alias: None
Product: Spectacle
Classification: Applications
Component: General (show other bugs)
Version: 23.08.2
Platform: Arch Linux Linux
: NOR grave
Target Milestone: ---
Assignee: maxlefou
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-21 15:43 UTC by maxlefou
Modified: 2024-01-10 21:49 UTC (History)
3 users (show)

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


Attachments
A picture showing the said behavior (52.89 KB, image/webp)
2023-12-23 11:22 UTC, maxlefou
Details

Note You need to log in before you can comment on or make changes to this bug.
Description maxlefou 2023-12-21 15:43:26 UTC
SUMMARY
Spectacle doesn't show its interface when started, just showing a freezing picture of what's behind the window instead, like a freezing app. The problem doesn't occur on wayland though.

STEPS TO REPRODUCE
1. Log into a Plasma X11 session
2. launch spectacle (either by command line, icon or the print screen key)

OBSERVED RESULT
The Spectacle window appears but the UI doesn't, resulting in showing a remnant image of what was behind the window before. It also gives the following error on terminal: 
`qrc:/src/Gui/CaptureOptions.qml:44:5: QML CaptureSettingsColumn (parent or ancestor of QQuickLayoutAttached): Binding loop detected for property "minimumWidth"`

EXPECTED RESULT
The spectacle UI should show and work, as it does on Plasma under Wayland

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch with kernel 6.1.68
KDE Plasma Version: 5.27.10
KDE Frameworks Version: 5.113.0
Qt Version: 5.15.11

ADDITIONAL INFORMATION
Only happens on X11. Spectacle behaves correctly on wayland. Though i can't use wayland correctly because nvidia...
Also happens in ver. 23.08.3 and 23.08.4. I cannot try older versions because of changed dependencies.
Sorry if it has been posted already, I have searched but haven't found any similar report...
Comment 1 maxlefou 2023-12-21 15:46:42 UTC
One more detail: using Spectacle to capture screen using direct keys shortcut (like Meta+PrintScreen to get a specific window) works as intended. Only the Spectacle UI seems affected.
Comment 2 Nate Graham 2023-12-21 16:50:16 UTC
Can you attach a screenshot of what it looks like? You can use spectacle to screenshot itself via a global shortcut or `spectacle -r` on the command line. Or just a phone photo would be fine.
Comment 3 maxlefou 2023-12-21 18:58:05 UTC
(In reply to Nate Graham from comment #2)
> Can you attach a screenshot of what it looks like? You can use spectacle to
> screenshot itself via a global shortcut or `spectacle -r` on the command
> line. Or just a phone photo would be fine.

https://imgur.com/a/agwCNLL
Comment 4 maxlefou 2023-12-23 11:22:26 UTC
Created attachment 164402 [details]
A picture showing the said behavior
Comment 5 Noah Davis 2023-12-23 17:18:14 UTC
I haven't seen this previously and I can't reproduce it with the 24.01.85 beta version.
Comment 6 Nate Graham 2024-01-09 23:15:28 UTC
Same symptoms as Bug 478387, which seems to have been fixed now. Let's call it the same thing.

*** This bug has been marked as a duplicate of bug 478387 ***
Comment 7 maxlefou 2024-01-10 10:58:50 UTC
Sorry, but it's the contrary, it happens on X11 and not on Wayland. For this, I don't think this is a duplicate, as similar as the symptoms are.
Plus, I'm still having this problem today.
Comment 8 Nate Graham 2024-01-10 21:49:22 UTC
Ok. Well the binding loop you reported is fixed in the upcoming 24.02 version, so perhaps that will turn out to have been the cause.