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

Message window has zero height when reshown after restarting Geany #2977

Open
xiota opened this issue Nov 1, 2021 · 4 comments
Open

Message window has zero height when reshown after restarting Geany #2977

xiota opened this issue Nov 1, 2021 · 4 comments
Labels
can't reproduce A developer couldn't reproduce the issue

Comments

@xiota
Copy link
Contributor

xiota commented Nov 1, 2021

Geany built from git. GTK+ v3.24.30, GLib v2.68.4.

Steps to reproduce:

  1. Maximize Geany.
  2. Hide message window.
  3. Close Geany.
  4. Restart Geany.
  5. Unmaximize Geany.
  6. Reshow message window. Appears to fail because message window has zero height. Can be resized to former height.

Notes:

  • Message window is at the bottom of the window. Have not tested, but probably not an issue if message window is at the top or sides.
  • Potential solution: In the config file, The message window position is saved. Instead, the message window size should be saved, and the position calculated based on which side it's on.
  • Potential solution: Calculating position is complicated by the visibility and size of various components. Saving the position for maximized and normal states separately would also prevent this problem.
@elextr
Copy link
Member

elextr commented Nov 1, 2021

Can't reproduce on:

08:39:58: Geany INFO		: Geany 1.38 (git >= cfc2b229), en_AU.UTF-8
08:39:58: Geany INFO		: GTK 3.24.20, GLib 2.64.6
08:39:58: Geany INFO		: OS: Linux Mint 20 (ulyana)

or

Geany INFO		: Geany 1.39 (git >= 56416311), en_AU.UTF-8

@elextr elextr added the can't reproduce A developer couldn't reproduce the issue label Nov 1, 2021
@elextr
Copy link
Member

elextr commented Nov 1, 2021

With Geany closed and using a non-geany editor post copies of the msgwindow_visible and msgwindow_position lines from Geany.conf for the following and also note if the problem occurs on re-opening:

  1. Geany not maximised msgwin visible
  2. Geany not maximised msgwin hidden
  3. Geany maximised msgwin visible
  4. Geany maximised msgwin hidden

Please post just the two lines, not 4 copies of the whole file.

@xiota
Copy link
Contributor Author

xiota commented Nov 2, 2021

  1. Geany not maximised msgwin visible
    msgwindow_visible=true
    msgwindow_position=493
  2. Geany not maximised msgwin hidden
    msgwindow_visible=false
    msgwindow_position=493
  3. Geany maximised msgwin visible
    msgwindow_visible=true
    msgwindow_position=642
  4. Geany maximised msgwin hidden
    msgwindow_visible=false
    msgwindow_position=642
  5. Geany not maximised msgwin visible ­– after restart and toggle from maximized msgwin hidden
    msgwindow_visible=true
    msgwindow_position=642

@xiota
Copy link
Contributor Author

xiota commented Nov 2, 2021

Related: #576

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
can't reproduce A developer couldn't reproduce the issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants