Skip to content

Restore last position and size for new PiP windows#12

Open
nkestrel wants to merge 9 commits intoRafostar:mainfrom
nkestrel:savewindowposition
Open

Restore last position and size for new PiP windows#12
nkestrel wants to merge 9 commits intoRafostar:mainfrom
nkestrel:savewindowposition

Conversation

@nkestrel
Copy link

Addresses feature request #3. Tested only with Firefox.

Copy link
Owner

@Rafostar Rafostar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, Thanks for working on this. Unfortunately I have few performance related concerns with this implementation. Please see my review comments. Thanks again.

@nkestrel nkestrel requested a review from Rafostar November 22, 2022 10:40
@Rafostar
Copy link
Owner

Rafostar commented Dec 3, 2022

Tested only with Firefox.

I had some time now to test this a little too. This works with Firefox, but unfortunately breaks Clapper due to resizing PiP window animation.

I would recommend simply excluding this behavior from Clapper app ID: com.github.rafostar.Clapper windows (not connecting signals to such wm_class windows). Maybe mentioning in the preferences that this restores "newly opened windows" would make us avoid the confusion?

@Steinhagen
Copy link

Is there any update for this? Would be really nice to have for the Wayland session.

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

Successfully merging this pull request may close these issues.

3 participants