onsah/fullscreen-to-new-workspace

Rollback the fullscreen

mak7imyss opened this issue · 4 comments

Hi thanks for your work
I noticed that in the transition to full screen mode - a workspace is created at the end of the list and when returning from full screen, the window goes to the previous screen (which can be expanded to full screen and then the window seems to be lost behind it), if it was not deployed in the already created space.
I think it would be great, if possible, to create a workspace next to the current one from which the window is maximized. In this case, the logic of returning from the full screen will be intuitive

изображение
изображение
изображение

OS: Fedora Linux 38 (Workstation Edition) 
Kernel: 6.3.8-200.fc38.x86_64  
DE: GNOME 44.2 

Extension version: 5
onsah commented

@mak7imyss I think that's great idea! Feel free to implement yourself. Otherwise I will probably have some time in the weekend to work on this.

onsah commented

@mak7imyss I think I misunderstood your request here. I thought you wanted to move the window that goes fullscreen to a new workspace next to the original place.

Do you ask for creating a new workspace if the window's original workspace has other windows? If that's the case we can just keep the window in the workspace where it's moved when it went to fullscreen.

@onsah Unfortunately, my skills leave much to be desired and I'm just starting to switch to unix and get to know it 😅

Leave a new working space created for fullscreen with a window moved to it, even if we minimize it (the window) in the future? Wow, I think it looks even better! 😄

onsah commented

@mak7imyss Sorry I just saw your comment. For some reason I don't get any notification 😅 I think I can implement what you want, but I prefer the current behaviour as default as it's how it works in Mac OS and Elementary OS. But new behaviour can be an option that can be configured.

If I have some time, the first thing I will look at will be this feature!