Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#68834 - KDE Spectacle doesn't produce a window

Attached to Project: Arch Linux
Opened by Victor Polevoy (vityafx) - Thursday, 03 December 2020, 17:14 GMT
Last edited by Antonio Rojas (arojas) - Thursday, 03 December 2020, 18:18 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
The latest spectacle package doesn't produce a window so that I can actually use it for its direct purpose: capturing screenshots.
This has started happening quite recently - since around November.
The app launches just fine, but it is stuck according to the strace:

access("/home/fx/.config/spectaclerc", F_OK) = -1 ENOENT (No such file or directory)
lstat("/home", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/home/fx", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/home/fx/.config", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
access("/home/fx/.config/spectaclerc", F_OK) = -1 ENOENT (No such file or directory)
access("/home/fx/.config", F_OK) = 0
statx(AT_FDCWD, "/home/fx/.config", AT_STATX_SYNC_AS_STAT, STATX_ALL, {stx_mask=STATX_ALL|STATX_MNT_ID, stx_attributes=0, stx_mode=S_IFDIR|0755, stx_size=4096, ...}) = 0
access("/home/fx/.config", W_OK) = 0
statx(AT_FDCWD, "/home/fx/.config/kdeglobals", AT_STATX_SYNC_AS_STAT, STATX_ALL, {stx_mask=STATX_ALL|STATX_MNT_ID, stx_attributes=0, stx_mode=S_IFREG|0600, stx_size=3422, ...}) = 0
statx(AT_FDCWD, "/etc/xdg/kdeglobals", AT_STATX_SYNC_AS_STAT, STATX_ALL, 0x7ffe37749ed0) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/home/fx/.config/system.kdeglobals", AT_STATX_SYNC_AS_STAT, STATX_ALL, 0x7ffe37749ed0) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/etc/xdg/system.kdeglobals", AT_STATX_SYNC_AS_STAT, STATX_ALL, 0x7ffe37749ed0) = -1 ENOENT (No such file or directory)
access("/home/fx/.config/kdeglobals", F_OK) = 0
lstat("/home", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/home/fx", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/home/fx/.config", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/home/fx/.config/kdeglobals", {st_mode=S_IFREG|0600, st_size=3422, ...}) = 0
access("/home/fx/.config/kdeglobals", F_OK) = 0
openat(AT_FDCWD, "/home/fx/.config/kdeglobals", O_RDONLY|O_CLOEXEC) = 8
statx(8, "", AT_STATX_SYNC_AS_STAT|AT_EMPTY_PATH, STATX_ALL, {stx_mask=STATX_ALL|STATX_MNT_ID, stx_attributes=0, stx_mode=S_IFREG|0600, stx_size=3422, ...}) = 0
statx(8, "", AT_STATX_SYNC_AS_STAT|AT_EMPTY_PATH, STATX_ALL, {stx_mask=STATX_ALL|STATX_MNT_ID, stx_attributes=0, stx_mode=S_IFREG|0600, stx_size=3422, ...}) = 0
statx(8, "", AT_STATX_SYNC_AS_STAT|AT_EMPTY_PATH, STATX_ALL, {stx_mask=STATX_ALL|STATX_MNT_ID, stx_attributes=0, stx_mode=S_IFREG|0600, stx_size=3422, ...}) = 0
read(8, "[$Version]\nupdate_info=filepicke"..., 16384) = 3422
read(8, "", 12962) = 0
close(8) = 0
statx(AT_FDCWD, "/home/fx/.config/spectaclerc", AT_STATX_SYNC_AS_STAT, STATX_ALL, 0x7ffe37749f80) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/etc/xdg/spectaclerc", AT_STATX_SYNC_AS_STAT, STATX_ALL, 0x7ffe37749f80) = -1 ENOENT (No such file or directory)
access("/home/fx/.config/spectaclerc", F_OK) = -1 ENOENT (No such file or directory)
access("/home/fx/.config", F_OK) = 0
statx(AT_FDCWD, "/home/fx/.config", AT_STATX_SYNC_AS_STAT, STATX_ALL, {stx_mask=STATX_ALL|STATX_MNT_ID, stx_attributes=0, stx_mode=S_IFDIR|0755, stx_size=4096, ...}) = 0
access("/home/fx/.config", W_OK) = 0
write(6, "\1\0\0\0\0\0\0\0", 8) = 8
futex(0x7ffe37749ef0, FUTEX_WAIT_PRIVATE, 0, NULL) = 0
write(6, "\1\0\0\0\0\0\0\0", 8) = 8
futex(0x55c9c6f72a90, FUTEX_WAIT_PRIVATE, 0, NULL) = 0
futex(0x55c9c6f72a40, FUTEX_WAKE_PRIVATE, 1) = 0
write(6, "\1\0\0\0\0\0\0\0", 8) = 8
futex(0x55c9c6f727a0, FUTEX_WAIT_PRIVATE, 0, NULL) = 0
futex(0x55c9c6f72750, FUTEX_WAKE_PRIVATE, 1) = 0
write(6, "\1\0\0\0\0\0\0\0", 8) = 8
futex(0x55c9c6f72a20, FUTEX_WAIT_PRIVATE, 0, NULL

Should you need more, please ask me. This futex call just waits forever.
/home/fx is my user's home directory which runs the X session with the Awesome DE.

Additional info:
* package version: spectacle-20.08.3-1
* Awesome DE.
* All the latest archlinux updates are installed.

Steps to reproduce:
Just try launching the app with the way you like. I am used to running it just by running from a console using zsh.

Reinstallation of the package doesn't help.
This task depends upon

Closed by  Antonio Rojas (arojas)
Thursday, 03 December 2020, 18:18 GMT
Reason for closing:  Upstream
Comment by Antonio Rojas (arojas) - Thursday, 03 December 2020, 18:02 GMT
Probably it's just outside the display area. Try deleting .config/spectaclerc
Comment by Victor Polevoy (vityafx) - Thursday, 03 December 2020, 18:08 GMT
I had already done that before posting here :)
But your guess somewhat makes sense to me. I think it started happening when I changed my display modes - I have recently bought a 4K monitor and I have two now - a 4K one and 1080p one, and I am using an nvidia videocard. Perhaps, spectacle doesn't understand the video modes properly... But I don't know whether this is really an issue here or something else.

UPD: Actually, I have just remember, spectacle had been working after my monitors upgrade just fine as well as other apps, so the videomodes should not be an issue here.

Is it possible to make X focus and draw/center a window by a pid? This would show if the window is really just rendered outside of the display area.
Comment by Antonio Rojas (arojas) - Thursday, 03 December 2020, 18:11 GMT
Maybe try reporting it upstream to KDE, giving all details about your screen setup. Certainly nothing we can do about it packagingwise.
Comment by Victor Polevoy (vityafx) - Thursday, 03 December 2020, 18:13 GMT
Oops, sorry, you are right. I have forgotten that I could have seen the PKGBUILD myself, I just have never pressed "View the source" button, I am so used to AUR and downloading snapshots :-D
Thanks, you may close this then. Have a nice day!

Loading...