Taskbar -> Interaction -> 'Present windows preview' shows hidden file-manager windows

Bug #1613495 reported by ALinuxUser
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cairo-Dock Core
New
Undecided
Unassigned

Bug Description

When used with a pinned (or indeed unpinned?) file manager, 'Present windows preview on click when several windows are grouped together' shows hidden system file-manager windows, which it should not, and has the further consequence of shrinking the preview of the windows it should be showing. Oh no!

Screenshot: http://imgur.com/a/T7mv0
(Note that in the screenshot the large green item is my desktop background showing through (if you see what I mean).

My system:

OS: Linux Mint 18 Sarah x86_64
MMNso/` dMM `.::-. .-::.` .hMN: Kernel: 4.4.0-34-generic
ddddMMh dMM :hNMNMNhNMNMNh: `NMm Uptime: up 2 hours, 50 minutes
    NMm dMM .NMN/-+MMM+-/NMN` dMM Packages: 3172
    NMm dMM -MMm `MMM dMM. dMM Shell: /bin/bash
    NMm dMM -MMm `MMM dMM. dMM Resolution: 1280x800
    NMm dMM .mmd `mmm yMM. dMM DE: Cinnamon
    NMm dMM` ..` ... ydm. dMM WM: Mutter (Muffin)
    hMM- +MMd/-------...-:sdds dMM WM Theme: Cinnamon_NJ (Mint-Y)
    -NMm- :hNMNNNmdddddddddy/` dMM Theme: Mint-X-Blue [GTK2/3]
     -dMNs-``-::::-------.`` dMM Icons: Paper [GTK2/3]
      `/dMNmy+/:-------------:/yMMM Font: Noto Sans UI 11 [GTK2/3]
         ./ydNMMMMMMMMMMMMMMMMMMMMM CPU: Intel Core2 Duo T7500 (2) @ 2.2GHz
            \.MMMMMMMMMMMMMMMMMMM GPU: Intel Integrated Graphics
                                     Memory: 3419MB / 7974MB

Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller
OpenGL Vendor: Intel Open Source Technology Center
OpenGL Renderer: Mesa DRI Intel(R) 965GM
OpenGL Version: 2.1 Mesa 11.2.0
Client glx vendor: Mesa Project and SGI
Client glx version: 1.4
Server glx vendor: SGI
Server glx version: 1.4
GLX version: 1.4
OpenGLES PVS: OpenGL ES 2.0 Mesa 11.2.0
OpenGLES PSLVS: OpenGL ES GLSL ES 1.0.16
Kernel driver in use: i915
Total Memory prefetchable: 1M -
Total Memory non-prefetchable: 256M -
Present resolution: 1280x800 pixels (338x211 millimeters)
 minimum 8 x 8, current 1280 x 800, maximum 32767 x 32767

Cairo-dock version 3.4.1. My file manager is 'Nemo'.

Keep up the excellent work.

Revision history for this message
ALinuxUser (buntulongername-new) wrote :

I think this should be easy to fix - indeed I think I could it myself. The hidden/dummy windows show up with, only, 'nemo' as their name; there's no path - whereas normal folders show up as e.g. 'Docs - /home/<user>/Documents' or, in the case of the desktop, just, 'Desktop'.

So all that's need programmatically, it would seem, is to check the name and, if it is blank or just 'nemo', not display it. I think I might be able to do this myself - if someone would point me to the right part of the Cairo code. I could then post the required changes back here.

Revision history for this message
ALinuxUser (buntulongername-new) wrote :

Ah, perhaps the file in question is the following one? cairo-dock-user-interaction.c

Also, I've discovered a rather simple workaround. To wit: in the Cairo GUI, under Behaviour -> Behaviour (sic), add 'nemo' to 'Except the following classes'. This will create new Nemo icon for every (visible!) Nemo window.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.