#782181 shutter: The Shutter windows lack distinguishing X roles and instance names

#782181#5
Date:
2015-04-09 02:46:18 UTC
From:
To:
Dear Maintainer,

I am trying to configure the way Shutter acts in my i3 window manager. I
want to specify the main Shutter window, the one with "Session" in the
title, but all the windows in Shutter have the same X instance name and
class name, and none of them have a role (WM_WINDOW_ROLE) specified.

Currently I'm identifying the main window by checking the title for
"Session", but using the title is discouraged in the i3 user manual.

Ideally, the role or instance for each of the windows should be
"session", "preferences", "pop-up" etc. That would make them very easy
to identify. So, instead of all the windows showing this line under
xprop:

  WM_CLASS(STRING) = "shutter", "Shutter"

They should show lines like this:

  WM_CLASS(STRING) = "session", "Shutter"
  WM_CLASS(STRING) = "preferences", "Shutter"
  WM_CLASS(STRING) = "popup", "Shutter"

NB: By popup, I'm referring to the error message box that pops up when
Shutter can't grab the keyboard.

#782181#10
Date:
2015-04-10 06:44:16 UTC
From:
To:
I just now realized that when I take a screenshot, the title of the main
window changes to the full path to the new screenshot. This causes the
configuration set in i3 window manager to stop working.

#782181#15
Date:
2018-10-09 16:46:03 UTC
From:
To:
Dear submitter,

as the package shutter has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/904526

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Ansgar Burchardt (the ftpmaster behind the curtain)

#782181#28
Date:
2022-02-21 00:33:56 UTC
From:
To:
A new version of shutter was reintroduced into Debian unstable. Please
install it and check if the issue still occurs. If it still occurs,
please file a new bug with the upstream project on GitHub and let us
know the bug URL or mark the bug as forwarded yourself. If the issue no
longer occurs please let us know or close the bug yourself.

https://shutter-project.org/contribute/
https://www.debian.org/Bugs/server-control
https://www.debian.org/Bugs/Developer#closing

#782181#33
Date:
2022-02-23 10:10:37 UTC
From:
To:
Unfortunately I have taken the Wayland plunge since I opened that bug
request, which means I can no longer use Shutter for screenshots, nor do I
have it installed.

To check if this has been fixed, just open Shutter and open some dialogs,
then check all their class IDs, instance IDs and roles using "xprop". If
they have distinguishable instance IDs or roles so they can be targeted and
treated differently by the WM, then this bug is fixed.
--
*Tomas E. Sandven*