Skip to content

Conversation

DonLakeFlyer
Copy link
Contributor

Problems:

  • When clicking in map to execute a position oriented command you lose context of where exactly you clicked when the command popup shows
  • In the Plan view the hamburger item uses a QGCMenu which is based on QMl Menu control. A while back Qt screwed up this control such that it doesn't support dynamic visibility of items like it used to. This in turn made it very wonky looking. You can see it here:
Screenshot 2025-02-10 at 11 13 07 AM

Solution was to create a new DropPanel control which is based on the the ToolStrip drop panel control. This popup has an arrow indicator which points to the place the items are referring and doesn't suffer the problems QGCMenu has. I've switched over the Map click popup to use that as well as the Plan view hamburger drop down.

Here you can see a map click pop at the extreme edge of the map. Normally the control will drop to the right of the click. But if there is lack of room it will switch to drop to the left of the click.
Screenshot 2025-02-10 at 11 01 15 AM

@DonLakeFlyer DonLakeFlyer merged commit cfd7f34 into master Feb 11, 2025
8 checks passed
@DonLakeFlyer DonLakeFlyer deleted the DropPanel branch February 11, 2025 00:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant