elementary / terminal

Terminal emulator designed for elementary OS
https://elementary.io
GNU Lesser General Public License v3.0
413 stars 97 forks source link

Terminal Window is stucked at maximized #573

Open Zoisarxx opened 3 years ago

Zoisarxx commented 3 years ago

Terminal Window is stucked at maximized. It wont respond at any mouse command. Only if I close the tab it closes or if i press win key + H it minimizes it. It wont respond at anything else. Please help.

Thanks in advance.

bibich commented 3 years ago

Same issue for me

bibich commented 3 years ago

I've found a workaround. The saved state for window-state was blocked in "fullscreen". you can display current value in terminal with :

gsettings get io.elementary.terminal.saved-state window-state

and set the default value with

gsettings set io.elementary.terminal.saved-state window-state 'Normal'

you can also use dconf if you want to.

jeremypw commented 3 years ago

Do have any further information as to which version of elementary/Terminal you are using and what operations preceded getting in this state? I cannot reproduce it on elementary 6 daily.

Zoisarxx commented 3 years ago

I found the solution the same day i posted the question, but didn't update. I had pressed the f10 or f11 key which was set to full screen. After i repressed it, the terminal went back to normal. Strange bug because the terminal wasn't responding to anything.

wedsonlopes commented 3 years ago

Same issue here.

wedsonlopes commented 3 years ago

I've found a workaround. The saved state for window-state was blocked in "fullscreen". you can display current value in terminal with :

gsettings get io.elementary.terminal.saved-state window-state

and set the default value with

gsettings set io.elementary.terminal.saved-state window-state 'Normal'

you can also use dconf if you want to.

The solution worked for me.

wedsonlopes commented 3 years ago

Do have any further information as to which version of elementary/Terminal you are using and what operations preceded getting in this state? I cannot reproduce it on elementary 6 daily.

I had the issue in io.elementary.terminal 5.5.2 version (Elementary os 6 Early Access).

jeremypw commented 3 years ago

The correct (and only, I think) way to toggle fullscreen mode is to press "F11" and it appears this worked for you?
When you say "It won't respond to anything else" do you mean that the terminal is completely unresponsive or just that nothing else causes it to exit fullscreen mode?

I just noticed that the "maximise/normalise" button at the right of the headerbar was still visible in fullscreen mode but was set to "maximise" - pressing it does nothing. Is this what you mean?

I think this is an issue - the "maximise/normalise" button should be in the "normalise" state when in fullscreen mode and should work.

I also notice that the appearance of the headerbar context meu is messed up in fullscreen mode so that needs some work.

jeremypw commented 3 years ago

The issue with the headbar button is not a Terminal issue - it affects other elementary apps as well. Presumably it is a Gala issue?

jeremypw commented 3 years ago

Or possibly it is due to using libhandy to draw the headerbar. On apps that do not use this the headbar is not visible in fullscreen mode so the issue does not arise. May need to patch that library.

mais1e commented 2 years ago

Hello. I'm on eos 6.1 and was having the same issue. Fix below worked for me. Neither mouse or keyboard shortcuts would get it back to normal state.

I've found a workaround. The saved state for window-state was blocked in "fullscreen". you can display current value in terminal with :

gsettings get io.elementary.terminal.saved-state window-state

and set the default value with

gsettings set io.elementary.terminal.saved-state window-state 'Normal'

you can also use dconf if you want to.

ernstki commented 1 year ago

I think F11 is probably the right solution for most people reporting this issue. So maybe the title of the bug should be "(un)maximize button unresponsive in fullscreen." Dragging the titlebar to unmaximize also doesn't work in this situation, and probably it should.

I totally went straight to dconf-editor to try and figure out what was wrong, though. In my case, io.elementary.terminal.saved-state still said Normal. All I can figure is I'd had the dconf-editor window open previously, and it hadn't been updated with the new state.

I did try setting it to Maximized (just a guess), no change. It took me several minutes of trying all kinds of things before it dawned on me that I'd pressed F11 some time earlier in the day, and it was stuck in that state, no matter what dconf-editor said.