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

MapView Toolbar active tool style disappears after activating Table MdiSubWindow and then MapView again #688

Closed
MaartenHilferink opened this issue Mar 20, 2024 · 8 comments
Assignees
Labels
Qt Eventlog, layout detailpage, main menu, knoppen, treeview UX Improved error messages, etc.
Milestone

Comments

@MaartenHilferink
Copy link
Collaborator

image
image

@MaartenHilferink MaartenHilferink added Qt Eventlog, layout detailpage, main menu, knoppen, treeview UX Improved error messages, etc. labels Mar 20, 2024
@MaartenHilferink
Copy link
Collaborator Author

MaartenHilferink commented Mar 20, 2024

Additional GUI issues

  • Alt-D should attribute key focus to the address bar
  • When Address-Bar has key focus, Tab should attribute key focus to the TreeView (for scrolling through the items with arrow keys and first characters)
  • When TreeView has key focus, Tab should attribute key focus to the EventLog (for scrolling)
  • Changing selection of the districts in the MapView are only reflected in the table view when MouseMove over the TableControl area.

@eoudejans
Copy link
Collaborator

Clicking on the header of the map- or tableview does update the toolbar to the correct state:
image

image

However indeed clicking on the geodms view does not update the toolbar properly.

@MaartenHilferink
Copy link
Collaborator Author

TableView Toolbar: when group-by is selected, and a new TableView is opened, the group-by depression continues

@MaartenHilferink
Copy link
Collaborator Author

oops, last commit was to close #658

@eoudejans
Copy link
Collaborator

Widget focus policy can be controlled by QWidget::setFocusPolicy(Qt::FocusPolicy)
Widgets that should not be tab focusable should be Qt::FocusPolicy::ClickFocus.

@eoudejans
Copy link
Collaborator

Widget's tab order for QMainWindow can be controlled using QWidget::setTabOrder

eoudejans added a commit that referenced this issue May 6, 2024
… chain. Explicitly disabled javascript for safety reasons.
eoudejans added a commit that referenced this issue May 7, 2024
…ts: statusbar elements, hidden spacer widgets. Widgets in detail pages are still tab-focusable.
@eoudejans
Copy link
Collaborator

There is unconnectedness between activating a dms hwnd (ie table- or mapview) and activating the Qt mdi subwindow.

eoudejans added a commit that referenced this issue May 8, 2024
…ER+17 which is caught using QDmsViewArea::nativeEvent a direct connection is made between user left mouse click event on a self managed Hwnd (ie table- or mapview) and the QMdiArea.
@MaartenHilferink MaartenHilferink added this to the v15.4 milestone Jul 5, 2024
@MaartenHilferink
Copy link
Collaborator Author

Fixed with the recent changes to updateDmstoolbarButtonVisualStates

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Qt Eventlog, layout detailpage, main menu, knoppen, treeview UX Improved error messages, etc.
Projects
None yet
Development

No branches or pull requests

2 participants