Skip to content

wxGUI/lmgr: preserve scroll map layer position during interaction with map layers#7647

Open
tmszi wants to merge 1 commit into
OSGeo:mainfrom
tmszi:fix-wxgui-layers-preserve-scrollbar-position
Open

wxGUI/lmgr: preserve scroll map layer position during interaction with map layers#7647
tmszi wants to merge 1 commit into
OSGeo:mainfrom
tmszi:fix-wxgui-layers-preserve-scrollbar-position

Conversation

@tmszi

@tmszi tmszi commented Jul 8, 2026

Copy link
Copy Markdown
Member

Interacting with map layers (selecting/unselecting, moving) inside wxGUI Layers widget is by default handled by wxPython CustomTreeCtrl class, EnsureVisible() method (respectively by ScrollTo() method) .

https://github.com/wxWidgets/Phoenix/blob/c19ff0ad30637d30a626806b60e31ec610256b84/wx/lib/agw/customtreectrl.py#L6700-L6767

Fixes #7082.

Actual behavior Expected behavior
wxgui_layers_actual_behavior.mp4
wxgui_layers_expected_behavior.mp4

@tmszi tmszi added this to the 8.6.0 milestone Jul 8, 2026
@tmszi tmszi added enhancement New feature or request GUI wxGUI related Python Related code is in Python labels Jul 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request GUI wxGUI related Python Related code is in Python

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] GUI: layer list behaviour unstable when list longer than view

1 participant