jake-phy / WindowIconList

GNU General Public License v2.0
75 stars 26 forks source link

Thumbnails displayed through popupMenu causes temporary loss of focus. #120

Closed repsac-by closed 8 years ago

repsac-by commented 8 years ago

Thumbnails displayed through popupMenu causes temporary loss of focus when you hover on buttons of applications on the panel. Sometimes this behavior is not desirable, such as Tilda(terminal) configured to hide when losing focus, disappears if you accidentally hover the mouse on the application button.

"Open ThumbnailS onClick" is not working or does not work as I expect.

jake-phy commented 8 years ago

that is a problem. I'm not sure if I can fix it or not :/ right now I'm using the inbuilt popup menu which automatically grabs focus.

repsac-by commented 8 years ago

I removed(commented) this line applet.js#L355 and now there is no loss of focus. This solved my trouble, now everything works as I expect. Yet to be discovered side effects.

jake-phy commented 8 years ago

Hmm that is very interesting. I never thought of that. The only thing that happens is the menu no longer is closed when clicked of it, but that shouldn't matter with the thumbnails. Do you want to open a pull request so I can put you down as a contributer?

repsac-by commented 8 years ago

https://github.com/jake-phy/WindowIconList/pull/123