Skip to content
This repository has been archived by the owner on Jul 7, 2019. It is now read-only.

unpinned icons remain despite program close #118

Closed
raafal opened this issue Apr 20, 2017 · 13 comments
Closed

unpinned icons remain despite program close #118

raafal opened this issue Apr 20, 2017 · 13 comments

Comments

@raafal
Copy link

raafal commented Apr 20, 2017

closing a program doesn't remove its icon from the ITM, in this example:
bar

  • cancelled Synaptic authentication request window
  • goldendict (opened twice, red background icon does not respond to RMB)
  • powerpoint presentation *.pptx (there were two documents opened)

opening the same program again will add another fully functional icon, on program close this new icon becomes stuck as well

it happens only with icons that are not pinned to the ITM

cinnamon restart removes all stuck icons

  1. open Windows(wine) program (via its icon pinned in Icing Task Manager), its icon is shown as not running, a click does bring up its window, but it does not hide already visible window,

and while this program is running

  1. open a normal, linux program that is not pinned to the ITM
  2. close the linux program – its icon is not removed, it becomes stuck

each open/close cycle adds another stuck icon

quiting the windows program stops the whole process of adding more stuck icons, i.e. closing a linux program removes its icon, but does not remove stuck icons

@jaszhix jaszhix added the bug label Apr 20, 2017
@jaszhix
Copy link
Owner

jaszhix commented Apr 20, 2017

Ungrouped windows is an unpolished feature in ITM. I plan to improve it more, but in the mean time you may be better off using the default window list applet if that is what you need. Most of my attention has gone into grouped windows because that is the void needing to be filled in Cinnamon.

@raafal
Copy link
Author

raafal commented Apr 21, 2017

I'm afraid I didn't make myself clear enough :) Let me explain:

I AM using grouped windows.

  1. Let's say I start with this, please note four nemo windows that are grouped:
    step1

  2. then I open PDF-XChange Viewer windows application, despite the fact the app is open, it gets no green underline/lighter background of an open app
    step2

  3. then I open bluefish (behaves correctly)...
    step3

  4. and close bluefish -- 3&4 are the same -- green underline/lighter background is still on despite the fact that I closed bluefish
    step4

  5. then I open & close the (not pinned) apps in the following order:

    • Image Viewer
    • Image Viewer
    • Calculator
    • Golden Dict
    • Calculator
    • Calculator
    • Calculator
    • Golden Dict

step5
starting from red 5+ on the picture each app is opened and then immediately closed, each open/close results in a "dead" icon left on the panel -- these icons are not multiple windows still open (see number 4 still visible on nemo icon to the left), these are all closed apps that failed to remove their icons from the panel

when I close PDF-XChange Viewer:

  1. all "dead" icons for unpinned apps (5+) remain as they were (until cinnamon restart alt-f2 r)
  2. all new operations return to normal:
    • (for unpinned) an icon appears when I open an app, and disappears when I close that app
    • (for pinned) open add underline, close removes it, bluefish open&close removes "stuck" underline

@jaszhix
Copy link
Owner

jaszhix commented Apr 21, 2017

Ah, sorry, my mistake. I should have looked at your settings - I was in a bit of a rush. One specific issue with Mint Y-style themes is the "Show active app indicators" option needs to be on or it won't properly indicate an opened app. This is because these themes don't style the active pseudo class this way. The dead icon issue is something I've only seen in ungrouped windows, so this is definitely needing a closer look.

@jaszhix
Copy link
Owner

jaszhix commented Apr 21, 2017

In your .xsession-errors file I see this:

** (evince:4218): WARNING **: Unimplemented annotation: POPPLER_ANNOT_FREE_TEXT.  It is a known issue and it might be implemented in the future.

After researching this error it appears to be related to PDF readers in Cinnamon. I also found an old Debian bug.

Does this behavior ever occur if PDF-XChange is not in use? It may be a bug I would have a hard time fixing because the stack trace is vague. The window title signal is emitting the app query that's failing, and preceding the repeating stack trace from ITM is flooding of that annotation error.

@raafal
Copy link
Author

raafal commented Apr 23, 2017

for this error to occur I have to run first a windows app, it occurs when I run either "PDF-XChange" or "Astrolog32"

I've also tested "StarFisher" and "PITy 2016 IPS", but these do not cause this problem

@jaszhix
Copy link
Owner

jaszhix commented Apr 24, 2017

Well you can't say they don't cause the problem if there is a correlation with the bug only occurring when those apps are in use.

@raafal
Copy link
Author

raafal commented Apr 24, 2017 via email

@jaszhix jaszhix added wine and removed help wanted labels Jun 16, 2017
@jaszhix
Copy link
Owner

jaszhix commented Jul 7, 2017

@raafal Can you see if this is still an issue on version 4.6.1?

@raafal
Copy link
Author

raafal commented Jul 8, 2017

@jaszhix I've just updated, so it is 4.6.2, and, unfortunately, the problem persists

@geoffgs
Copy link

geoffgs commented Jul 11, 2017

Similar issue persists for me. Whether an app is closed or hidden, multiples will appear. Strangely, the multiple instances has become worse with Show Active App Indicators enabled.

mine

@jaszhix
Copy link
Owner

jaszhix commented Jul 14, 2017

Can you test and see if the issue is improved on 5.2.1+?

@raafal
Copy link
Author

raafal commented Aug 10, 2017

the issue is improved, i.e. started wine app no longer creates those "dead" icons after opening&closing of other apps, but the issue morphed into something line this #141

@jaszhix
Copy link
Owner

jaszhix commented Aug 12, 2017

Okay, we can merge this issue into #141.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants