Bug 149431 - Sidebar width is not suitable in Writer when switch from wide tab to narrow one
Summary: Sidebar width is not suitable in Writer when switch from wide tab to narrow one
Status: RESOLVED DUPLICATE of bug 128180
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.4.0.0 alpha0+
Hardware: All macOS (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: target:7.5.0 target:7.4.0.0.beta2
Keywords: needsUXEval
Depends on:
Blocks:
 
Reported: 2022-06-02 14:13 UTC by enhua_2008
Modified: 2023-09-01 18:13 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
screenshot (322.71 KB, application/pdf)
2022-06-02 14:27 UTC, enhua_2008
Details

Note You need to log in before you can comment on or make changes to this bug.
Description enhua_2008 2022-06-02 14:13:39 UTC
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
Comment 1 enhua_2008 2022-06-02 14:27:52 UTC
Created attachment 180539 [details]
screenshot
Comment 2 Rafael Lima 2022-06-02 20:29:59 UTC
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.
Comment 3 enhua_2008 2022-06-02 22:01:48 UTC
(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.
Comment 4 sdc.blanco 2022-06-03 11:45:51 UTC
@Enhua -- search in the Resolved bugs -- there has been much prior work/discussion about width of Sidebar. Will add needsUXEval.
Comment 5 Heiko Tietze 2022-06-07 10:22:38 UTC
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 ***
Comment 6 Commit Notification 2022-06-17 18:53:01 UTC
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.
Comment 7 Commit Notification 2022-06-18 03:54:50 UTC
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.