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

Set cursor when in transparent/buttonless title area on macOS #7974

Open
nixpulvis opened this issue May 14, 2024 · 3 comments
Open

Set cursor when in transparent/buttonless title area on macOS #7974

nixpulvis opened this issue May 14, 2024 · 3 comments

Comments

@nixpulvis
Copy link
Contributor

nixpulvis commented May 14, 2024

When window.decorations = "Buttonless" or "Transparent" the cursor should show a pointer when dragging it will not select text but instead move the window.

Current behavior:

old.mp4
@chrisduerr
Copy link
Member

I'm not sure it should? Shouldn't the safe zone to move the window just not exist at all?

@nixpulvis
Copy link
Contributor Author

nixpulvis commented May 14, 2024

I get the expected behavior of the four macOS options for decorations really confused TBH. If what you say is true however, then the only difference between "Buttonless" and "None" is the rounding of the window. I expect the only real reason someone uses "Buttonless" over "None" is so they can move the window. Of course, you can always drag the window even with "None" by putting the cursor on the edge (where it allows resize) and dragging that somehow. It's confusing, but it sorta works. Still having a hidden drag zone is somewhat intuitive for people who "just know" that the top of a window allows dragging, so I would expect the cursor image to reflect that for this mode.

Buttonless should just be "Transparent" without the buttons IMO.

Which now that I mention is is also a small issue.

@nixpulvis nixpulvis changed the title Set cursor when in buttonless title area on macOS Set cursor when in transparent/buttonless title area on macOS May 14, 2024
@chrisduerr
Copy link
Member

If what you say is true however, then the only difference between "Buttonless" and "None" is the rounding of the window.

I don't know what the difference is, I don't use macOS.

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

No branches or pull requests

2 participants