MissionPlanner icon indicating copy to clipboard operation
MissionPlanner copied to clipboard

Fixed menu bar disappearing when autohide is disabled

Open JWangAeronavics opened this issue 7 years ago • 8 comments

This fixes the double event handler registration issue described in issue #1682

JWangAeronavics avatar Nov 10 '17 01:11 JWangAeronavics

@JWangAeronavics, is this still broken in master?

edwinhayes avatar Dec 11 '17 22:12 edwinhayes

@edwinhayes the problem still exists in master

JWangAeronavics avatar Dec 12 '17 01:12 JWangAeronavics

there is a other underlying issue here that has been created. if a user wants to enable autohide, with the current structure they cannot, as it is forced by the displayview.

meee1 avatar Dec 12 '17 04:12 meee1

@meee1 sorry that's my bad, the above commit fixes that issue.

JWangAeronavics avatar Dec 12 '17 21:12 JWangAeronavics

can you actually tell me how the original issue is created? as I cant replicated the underlying issue.

meee1 avatar Dec 19 '17 22:12 meee1

Steps to reproduce:

  1. turn on autohide
  2. quit mission planner and ensure the menu_autohide config is set in config.xml
  3. restart mission planner
  4. disable autohide
  5. mouse over the menubar then move the cursor off the menubar

this assumes there is no theme that forces autohide present

JWangAeronavics avatar Dec 19 '17 23:12 JWangAeronavics

I still cant replicate this issue. this feature is broken however as the setting is not remembered between sessions. my test was with no displayview defined in settings at all. and as per your instructions.

meee1 avatar Dec 19 '17 23:12 meee1

can you repeat this test either with e9107bf5d79eb5fbdc8edff2031bc39f67459fbe cherry picked in or the autohide displayview change #1684 reverted?

JWangAeronavics avatar Dec 19 '17 23:12 JWangAeronavics