Description: The properties tab of sidebar is wider than the page tab, if you click the properties tab first and then switch to page tab, the page tab width becomes to properties tab width. It's not suitable and doesn't look good. Steps to Reproduce: 1.Open the writer 2.Click the page tab of side bar, if the page tab is wider than default width, drag the splitter to minimum width. 3.Switch to properties tab, the width becomes wider 4.Then click the page tab, the width remain the properties tab width, it's not suitable. Actual Results: when switch from properties tab to page tab, the width remain the properties tab width, it's not suitable. Expected Results: The width should be suitable width when switch from properties tab to page tab. Reproducible: Always User Profile Reset: No Additional Info: Version: 7.3.3.2 / LibreOffice Community Build ID: d1d0ea68f081ee2800a922cac8f79445e4603348 CPU threads: 10; OS: Mac OS X 12.4; UI render: default; VCL: osx Locale: zh-CN (zh_Hans.UTF-8); UI: zh-CN Calc: threaded
Created attachment 180539 [details] screenshot
This happens for other tabs as well. For instance, if you follow the same steps for the Styles sidebar, you'll get the same result. For instance, open the Styles sidebar, resize it to the smallest possible width. Then open the Properties tab (which is wider) then go back to the Styles sidebar. You'll notice that the width won't be changed back to the smallest possible width. The same applies for the Navigator, Styles Inspector, etc. I'm wondering that may be by design.
(In reply to Rafael Lima from comment #2) > This happens for other tabs as well. For instance, if you follow the same > steps for the Styles sidebar, you'll get the same result. > > For instance, open the Styles sidebar, resize it to the smallest possible > width. Then open the Properties tab (which is wider) then go back to the > Styles sidebar. You'll notice that the width won't be changed back to the > smallest possible width. > > The same applies for the Navigator, Styles Inspector, etc. > > I'm wondering that may be by design. I've actually found other sidebars with the same problem as you said, I just use Properties tab and page tab as an example. I think even if it's design, but it's not good design. I have fixed the width to smallest width unless you drag the splitter. It will remember the drag width, take the maximum width from the smallest width and drag width.
@Enhua -- search in the Resolved bugs -- there has been much prior work/discussion about width of Sidebar. Will add needsUXEval.
Sidebar width is a difficult topic. We do have a lot of discussion around this topic. Your particular issue has been file in bug 128180. *** This bug has been marked as a duplicate of bug 128180 ***
xuenhua committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/0ec2b93c28093c80572c43f7be261630bd85f232 tdf#149431 Fix the sidebar's width It will be available in 7.5.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
xuenhua committed a patch related to this issue. It has been pushed to "libreoffice-7-4": https://git.libreoffice.org/core/commit/334b44affe24340f44216021a4699699dd5dde96 tdf#149431 Fix the sidebar's width It will be available in 7.4.0.0.beta2. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.