regolith-linux / regolith-desktop

Meta package for the Regolith Desktop Environment
1.48k stars 31 forks source link

Hotkey action should override full screen mode #843

Open vanboom opened 1 year ago

vanboom commented 1 year ago

Is your feature request related to a problem? Please describe. I often open a terminal or other app using a hot key when my browser is in full screen mode. The newly launched app opens, but behind the full screen window so it appears as if nothing has happened.

Describe the solution you'd like When a foreground app is in full screen mode, and a hotkey is used to open another app, full screen mode should revert back to tiled mode allowing the user to see the newly opened app. If my memory serves me, I think it used to work this way, but changed in one of the recent releases?

Thank you for considering this request.

vanboom commented 1 year ago

I found this setting for I3...

https://i3wm.org/docs/userguide.html#_popups_during_fullscreen_mode

Suggest making leave_fullscreen the default in the regolith/i3 config as smart mode does not bounce of out of full screen when a new app is opened.

kgilmer commented 1 year ago

Hi @vanboom. Interesting, I notice that this behavior seems to depend on the app. For example, gnome-fonts causes the full screen window to fall back to a normal window, but Libre Office does not. I'll try the setting suggestion you have in mind and see how it shakes out. In case you're unaware, you can specify an override to get the behavior you want. Eg: echo "wm.gaps.popup_during_fullscreen: leave_fullscreen" >> ~/.config/regolith2/Xresources

vanboom commented 6 months ago

Hi @kgilmer,

This may be an issue with I3... the popup_during_fullscreen seems to work for popup windows like this:

  1. Open a terminal full screen, MOD-ENTER, MOD-F
  2. Attempt to open another terminal, MOD-ENTER ( the terminal does not appear or change the full screen mode)
  3. Open the Log out popup MOD-E (the popup appears and the full screen mode is deactivated)

I have tried all of the various settings and have not yet found a way to get a new window to cause an existing full screen window to leave full screen.

UPDATE: Some clarification w/r to popup terminoloty. I3 considers a popup a new popup window of the parent window. Here we are referring to a new application window. So the issue is that a new application window appears underneath a full screen window when the desired behavior would be that a new application launch should cause the existing window to leave full screen mode.