linuxmint / mint21.1-beta

BETA Bug Squash Rush
7 stars 0 forks source link

On some specific programs, whether maximized or un-maximized, you can double-click in-between the close button and the most top-right corner to maximize & un-maximize the window #74

Closed NintendoManiac64 closed 1 year ago

NintendoManiac64 commented 1 year ago

(occurs on Cinnamon, Mate, and Xfce but, since the Xfce Settings Editor is one of the programs in question, it made sense to demonstrate using Xfce)

To be clear, you don't have only the ability to double-click in that area between the close button and the most top-right corner, but that's the function that makes it the most obvious since, otherwise, you'd expect the program window to instead just close as soon as you left-click.

EDIT: To be double-clear, I was simply using the double-click action to demonstrate that, for whatever reason on some programs, there's a sort of "empty space" between the close button and the most top-right corner that doesn't exist in some other programs (the software manager at the end of the video is one such example where I show that it lacks this aforementioned "empty space").

And, to spell it out, any of those programs that have this "empty space" cannot be closed when maximized by putting the cursor in the most top-right corner of your screen like you can do with programs that don't have this "empty space" (again, the software manager at the end of the video demonstrates how clicking in the most top-right corner when maximized does close it).

video.webm

anaximeno commented 1 year ago

This doesn't seem to be a bug. If you go to the system settings inside the window section you'll find an option to configure the behavior when clicking two times on the window's header.

NintendoManiac64 commented 1 year ago

This doesn't seem to be a bug. If you go to the system settings inside the window section you'll find an option to configure the behavior when clicking two times on the window's header.

That's not the point of what I was trying to convey - I was simply using the double-click action to demonstrate that, for whatever reason on some programs, there's a sort of "empty space" between the close button and the most top-right corner that doesn't exist in some other programs (the software manager at the end of the video is one such example where I show that it lacks this aforementioned "empty space").

To spell it out, any of those programs that have this "empty space" cannot be closed when maximized by putting the cursor in the most top-right corner of your screen like you can do with programs that don't have this "empty space" (again, the software manager at the end of the video demonstrates how clicking in the most top-right corner when maximized does close it).

clefebvre commented 1 year ago

OK, it looks like titlebar apps (SSD windows in other words) can be closed by having the pointer all the way to the top right corner of the screen when the window is maximized.

But headerbar apps (CSD windows) cannot. They have a gap so you interact with the headerbar instead of the close button.

clefebvre commented 1 year ago

I can reproduce this also with Adwaita and it's more visible there (the close button has a highlight effect which is more visible). This looks upstream and in the design of headerbars imo. Please report it to GTK directly.