Bugzilla – Full Text Bug Listing |
Summary: | scrollbar resets when selecting role | ||
---|---|---|---|
Product: | [openSUSE] openSUSE Tumbleweed | Reporter: | Arvin Schnell <aschnell> |
Component: | YaST2 | Assignee: | YaST Team <yast-internal> |
Status: | RESOLVED FIXED | QA Contact: | Jiri Srain <jsrain> |
Severity: | Normal | ||
Priority: | P5 - None | CC: | ancor, aschnell, jlopez, mvidner |
Version: | Current | ||
Target Milestone: | --- | ||
Hardware: | Other | ||
OS: | Other | ||
URL: | https://trello.com/c/YNjBYHWY | ||
Whiteboard: | |||
Found By: | Development | Services Priority: | |
Business Priority: | Blocker: | --- | |
Marketing QA Status: | --- | IT Deployment: | --- |
Attachments: |
screenshot before selecting role
YaST logs files |
Description
Arvin Schnell
2019-07-31 08:01:28 UTC
Created attachment 812237 [details]
screenshot before selecting role
Created attachment 812238 [details]
YaST logs files
Martin, please, could you have a look? I am not sure if this is something we can easily fix. Thanks. Thanks for the report. Yes. It's because libyui has no concept of a scrollable VBox. Therefore we simulate one with a RichText widget[1]. When you select a role, we have to replace the text to put the selected "radio button" in the right place. Replacing resets the scroll bar. [1]: https://github.com/yast/yast-installation/blob/b7e93db8a3223d3d47e989e491348f2761c07430/src/lib/installation/select_system_role.rb#L270 One way to fix this would be adding a scrollable VBox to libyui. We can add it to the backlog and do it, because we have seen sometimes it is needed. We could also make the RichText widget remember the scrollbar when setting new content. This is now fixed. See https://github.com/yast/yast-installation/pull/827 |