The logic for scrolling a focus item into view was mostly meant for keyboard-navigating through a list of CheckBoxes.
However, an inner ScrollView - like plasma-pa has in its config dialog - can also gain activeFocus. This had us try to scroll the ScrollView into view, usually scrolling away other view contents.
With the added logic we only try to scroll if the control is barely visible at the bottom but not if significant portions of it are already visible.
Details
Details
- Reviewers
mart - Group Reviewers
Plasma - Commits
- R119:a2777a1ac417: [Applet Configuration] Only scroll down if item is barely visible
I can still tab through task manager settings and have the view scroll properly.
Switching tabs in plasma-pa applet config dialog no longer scrolls the tabs out of view.
Diff Detail
Diff Detail
- Repository
- R119 Plasma Desktop
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.