psifidotos / applet-window-buttons

Plasma 5 applet in order to show window buttons in your panels
GNU General Public License v2.0
402 stars 55 forks source link

Applet doesn't hide itself if "Preserve as empty space" is choosen #149

Closed second2050 closed 2 years ago

second2050 commented 2 years ago

This applet seems to stay visible if: "Show" is set to "Last active window is maximized" and "Hidden State" is set to "Preserve as empty space". and only hides itself if no window is on screen. It hides itself correctly if "Hidden State" is set to "Slide out animation".

out

Versions I tested: community/plasma5-applets-window-buttons 0.10.1-1 aur/plasma5-applets-window-buttons-git 0.10.1.r0.ge2db5c0-1

System Information: OS: Arch Linux KDE Plasma: 5.23.2 KDE Frameworks: 5.87.0 Qt: 5.15.2

souvikhazra1 commented 2 years ago

I am also facing the same issue.

psifidotos commented 2 years ago

The video is not correct. What would you except after minimizing the window? all applets become hidden so how do you know that the applet does not "preserve as empty space"?

psifidotos commented 2 years ago

tested your settings in my system they work just fine....

psifidotos commented 2 years ago

I am also facing the same issue.

I dont see any issue in the video, what do you mean?

souvikhazra1 commented 2 years ago

Settings: Hidden State: Preserve empty space Show: Last active window is maximized

When the last active window is not maximized then it should not show the window controls, but it's still showing the window controls.

Settings: Hidden State: Slide out animation Show: Last active window is maximized

When the last active window is not maximized, slides out and as soon as the window is maximized it slides back in, which works as expected.

Seems like "Hidden State: Preserve empty space" is having issue.

second2050 commented 2 years ago

The video is not correct. What would you except after minimizing the window? all applets become hidden so how do you know that the applet does not "preserve as empty space"?

Before it also hid itself if the window is not maximized but visible with these settings which it now only does with the "slide out" animation.