FS#68834 - KDE Spectacle doesn't produce a window
Attached to Project:
Arch Linux
Opened by EQ (vityafx) - Thursday, 03 December 2020, 17:14 GMT
Last edited by Antonio Rojas (arojas) - Thursday, 03 December 2020, 18:18 GMT
Opened by EQ (vityafx) - Thursday, 03 December 2020, 17:14 GMT
Last edited by Antonio Rojas (arojas) - Thursday, 03 December 2020, 18:18 GMT
|
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
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.
Thanks, you may close this then. Have a nice day!