Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Panel tray icon behaving unexpectedly (icon size animations) #258

Open
kode54 opened this issue May 19, 2024 · 2 comments
Open

Panel tray icon behaving unexpectedly (icon size animations) #258

kode54 opened this issue May 19, 2024 · 2 comments

Comments

@kode54
Copy link

kode54 commented May 19, 2024

The icons grow or shrink depending on mouse-over, and if I right click an icon that opens a menu, in this case, Steam, it will shrink again when I move the mouse off it. However, if I left click the Steam icon, it stays larger when the menu opens, and I have to mouse-over and mouse-out to shrink it again.

@trigg
Copy link
Contributor

trigg commented May 19, 2024

The resizing is done by CSS, so you could disable it by removing the section from ~/.config/wf-shell/css/default.css

.wf-panel .tray-button image,

.wf-panel .launcher image {
    transition: 500ms linear;
    -gtk-icon-transform: scale(0.8);
}

.wf-panel .launcher:hover image {
    transition: 500ms linear;
    -gtk-icon-transform: scale(1.2);
}

Removing the two selectors for tray button will disable this hover-on-mouseover.

More interestingly is if you open a menu with rightclick the zoom goes away instantly, but left click will start the zoom but not zoom out when mouse leaves or when menu closes.

@kode54
Copy link
Author

kode54 commented May 19, 2024

I wasn't suggesting I didn't want the resizing. Rather that it was a matter of the resizing freezing only on left clicks. Not sure how fixable it is, though.

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

No branches or pull requests

2 participants