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

Hide controls and use implicit mouse controls instead #3

Open
protist opened this issue Mar 8, 2024 · 12 comments
Open

Hide controls and use implicit mouse controls instead #3

protist opened this issue Mar 8, 2024 · 12 comments
Assignees
Labels
enhancement New feature or request

Comments

@protist
Copy link

protist commented Mar 8, 2024

In the Active Window Control plasmoid from Plasma 5, there was an option to hide the "Elements", i.e. the buttons for close/minimise/maximise. We could instead control the window using other actions, e.g. middle-click to close, scroll down to minimise, scroll up to maximise. This would be brilliant to be added to this plasmoid too.

@antroids antroids self-assigned this Mar 8, 2024
@antroids antroids added the enhancement New feature or request label Mar 8, 2024
@r4
Copy link

r4 commented Mar 11, 2024

I think this is more or less asking for the same feature I was about to post about. It would be nice to have the buttons only show up when a window is maximized. Otherwise, they are hidden.

@antroids
Copy link
Owner

Mouse actions added to v0.3.0

@Okona
Copy link

Okona commented Mar 15, 2024

I think this is more or less asking for the same feature I was about to post about. It would be nice to have the buttons only show up when a window is maximized. Otherwise, they are hidden.

I second that! The now defunct Window Buttons widget offered exactly that behavior. This behaviour is especially useful combined with borderless maximized windows

@antroids
Copy link
Owner

I think this is more or less asking for the same feature I was about to post about. It would be nice to have the buttons only show up when a window is maximized. Otherwise, they are hidden.

I second that! The now defunct Window Buttons widget offered exactly that behavior. This behaviour is especially useful combined with borderless maximized windows

This is already implemented.
You can update or reinstall the widget if the options are still unavailable.
There are a lot of issues with widgets updates on new Plasma.

After release 0.3.0 you can remove all buttons by dragging them to the bin at Appearance config and assign actions to the mouse events at Behaviour config page.

Screenshot_Settings_2

@Okona
Copy link

Okona commented Mar 15, 2024

I was referring to the comment from user r4 here.
It was about hiding the Widget elements except when the current application is fullscreen.

It might not be totally the correct issue here. Should I create a new issue?

Btw, I am Using 0.3.5 which I freshly installed.

@antroids
Copy link
Owner

Oh, sorry. I didn't notice that this is different request with the first post. I'll add this option too.

@antroids
Copy link
Owner

I was referring to the comment from user r4 here. It was about hiding the Widget elements except when the current application is fullscreen.

It might not be totally the correct issue here. Should I create a new issue?

Btw, I am Using 0.3.5 which I freshly installed.

Added "Show for only maximized" option in 0.3.7

@aydencook03
Copy link

What about hiding the controls unless the window is maximized, but keep the title no matter what?

@antroids
Copy link
Owner

What about hiding the controls unless the window is maximized, but keep the title no matter what?

Do you have a use case for that?
Should the title be for last active window or maximized?

@aydencook03
Copy link

What about hiding the controls unless the window is maximized, but keep the title no matter what?

Do you have a use case for that? Should the title be for last active window or maximized?

Any active window already has control buttons, but what I'd like to do is hide the window border when the window is maximized. This would mean that the widget's controls are only needed when the window is maximized.

@antroids
Copy link
Owner

What about hiding the controls unless the window is maximized, but keep the title no matter what?

Do you have a use case for that? Should the title be for last active window or maximized?

Any active window already has control buttons, but what I'd like to do is hide the window border when the window is maximized. This would mean that the widget's controls are only needed when the window is maximized.

Yes, and any active window has window title. Why you would like to see the window title in the panel? I'm asking because not clear what title should be displayed: from active window or from maximized.

@protist
Copy link
Author

protist commented Mar 21, 2024

Any active window already has control buttons, but what I'd like to do is hide the window border when the window is maximized.

FWIW I never have window decorations, even on un-maximised windows. Hence, I never have buttons at any time.

Also, for me the lack of buttons doesn't necessarily relate to this issue. Even without having buttons, it's still possible for users to interact with the widget using middle-click etc, rather than clicking on visible buttons.

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

No branches or pull requests

5 participants