Taskbar -> Interaction -> 'Present windows preview' shows hidden file-manager windows
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://
(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/--
-NMm- :hNMNNNmddddddd
-dMNs-
`
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.
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.