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

Put Window into Center instead of the screen corner when exiting fullscreen when Clapper Starts in Fullscreen #493

Open
iWisp360 opened this issue Sep 30, 2024 · 2 comments

Comments

@iWisp360
Copy link

I use almost every time Clapper in full screen, but when it opens again, it starts in full screen, I simply toggle it to windowed mode, but the player places in the corner of the screen.

An option to disable start in full screen or place the player on the center when the player doesn't know it's previous windowed position would fix it.

Using Nvidia GPU with Gnome Wayland

@Rafostar
Copy link
Owner

Rafostar commented Oct 3, 2024

place the player on the center when the player doesn't know it's previous windowed position would fix it (...)
with Gnome Wayland

Unlike Xorg, Wayland does not allow for app itself to set its window position. No placement is saved or decided by app (since its not do-able on Wayland). The only thing Clapper does (because it can) is to request a window size when started windowed.

I use almost every time Clapper in full screen, but when it opens again, it starts in full screen, I simply toggle it to windowed mode, but the player places in the corner of the screen.

In order to have less options, current behavior is that fullscreen state is restored on next startup. Basically, if you close while fullscreened, Clapper will start in fullscreen next time you run it.

I use almost every time Clapper in full screen (...) An option to disable start in full screen

Since you mention that you use the player "almost every time in fullscreen", this means that when you close it (with either "q" shortcut or "X" button) it will start fullscreen again just as you use it normally. But... you wish for an option to disable startup in fullscreen. I am kinda lost here. Can you elaborate?

I simply toggle it to windowed mode, but the player places in the corner of the screen.

If I am not wrong on your intentions and what you want is simply to continue to startup in fullscreen, but have window manager to center it when unfullscreened, then I think this is more of a mutter issue.

Why I think this belongs to mutter? Because it has an center-new-windows option that sadly does not seem to work if window starts fullscreen.

@iWisp360
Copy link
Author

iWisp360 commented Oct 7, 2024

Since you mention that you use the player "almost every time in fullscreen", this means that when you close it (with either "q" shortcut or "X" button) it will start fullscreen again just as you use it normally. But... you wish for an option to disable startup in fullscreen. I am kinda lost here. Can you elaborate?

I mean an option to start Clapper in Windowed mode even if it was closed in Fullscreen mode, when you toggle fullscreen and you close the player, then in the next startup clapper will start in windowed mode instead of the previous fullscreen mode.

Thanks for listening!

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