Bug 149492 - With nothing selected, properties sidebar shows an extra "Slide" or "Page" section
Summary: With nothing selected, properties sidebar shows an extra "Slide" or "Page" se...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
7.4.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Sidebar-Properties
  Show dependency treegraph
 
Reported: 2022-06-08 19:27 UTC by Eyal Rozenberg
Modified: 2023-08-11 14:24 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
screenshot (114.89 KB, image/png)
2023-04-02 16:02 UTC, BogdanB
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eyal Rozenberg 2022-06-08 19:27:43 UTC
LO Draw does not have slides. However, if I start Draw (with an empty page), and open the Properties sidebar, I see two sections: "Page", ok, and "Slide" - with mostly the same properties. That should go away.
Comment 1 Mike Kaganski 2022-06-08 19:56:08 UTC
Please try with clean profile. This is most likely a remnant of some older sidebar configuration, together with the newer configuration.
Comment 2 Eyal Rozenberg 2022-06-08 20:02:30 UTC
(In reply to Mike Kaganski from comment #1)
> Please try with clean profile. This is most likely a remnant of some older
> sidebar configuration, together with the newer configuration.

I will, but - if a non-clean profile causes the sidebar to display a property section from another module - that's a bug. To paraphrase: "If the user profile told you to jump off the roof, would ya?" ...
Comment 3 Eyal Rozenberg 2022-06-08 20:06:20 UTC
(In reply to Mike Kaganski from comment #1)
> Please try with clean profile. This is most likely a remnant of some older
> sidebar configuration, together with the newer configuration.

After removing my profile folder and starting LO Draw again, I see the page section _twice_ in the properties bar.

Build info:

Version: 7.4.0.0.alpha0+ / LibreOffice Community
Build ID: d9b33ed6644203141fdb0776c291425c2bc9f5ac
CPU threads: 4; OS: Linux 5.10; UI render: default; VCL: gtk3
Locale: en-IL (en_IL); UI: en-US
Comment 4 Rafael Lima 2022-06-09 00:50:42 UTC
Not repro in

Version: 7.4.0.0.alpha1+ / LibreOffice Community
Build ID: 118bafcfd1ce4a26ec9df912197ebd466d1bd497
CPU threads: 16; OS: Linux 5.13; UI render: default; VCL: kf5 (cairo+xcb)
Locale: pt-BR (pt_BR.UTF-8); UI: en-US
Calc: CL

With a clean profile and the code updated from master, I only get the Page section in the Properties sidebar.

(In reply to Eyal Rozenberg from comment #2)
> I will, but - if a non-clean profile causes the sidebar to display a
> property section from another module - that's a bug

Unfortunately when changes are made to the sidebar, they're only effective after you get a new profile. I have gone through this in the past with other sidebar changes.
Comment 5 Buovjaga 2023-01-18 08:04:50 UTC
(In reply to Eyal Rozenberg from comment #3)
> (In reply to Mike Kaganski from comment #1)
> > Please try with clean profile. This is most likely a remnant of some older
> > sidebar configuration, together with the newer configuration.
> 
> After removing my profile folder and starting LO Draw again, I see the page
> section _twice_ in the properties bar.

I saw this yesterday when testing a background image bug with older versions, but I can't reproduce it.

Set to NEEDINFO.
Change back to UNCONFIRMED, if the problem persists. Change to RESOLVED WORKSFORME, if the problem went away.

Arch Linux 64-bit, X11
Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 7195e2740eb1c71f5bbc4322b3535d56b39e2817
CPU threads: 8; OS: Linux 6.1; UI render: default; VCL: kf5 (cairo+xcb)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded Jumbo
Built on 18 January 2023
Comment 6 Eyal Rozenberg 2023-01-18 21:33:28 UTC
I'm currently using:

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: ad387d5b984c6666906505d25685065f710ed55d
CPU threads: 4; OS: Linux 6.0; UI render: default; VCL: gtk3
Locale: en-IL (en_IL); UI: en-US
Calc: threaded

When clearing the profile, I don't see the bug. If I keep my profile - I see "page" twice. So, changing back to UNCONFIRMED.
Comment 7 Buovjaga 2023-01-19 05:29:56 UTC
Contrary to comment 2, the things that are solved with a profile reset we treat as WFM.
Comment 8 Eyal Rozenberg 2023-01-19 08:07:20 UTC
(In reply to Buovjaga from comment #7)
> Contrary to comment 2, the things that are solved with a profile reset we
> treat as WFM.

Really? Why? Or rather - can you link to a decision on this policy?
Comment 9 Mike Kaganski 2023-01-19 08:17:52 UTC
(In reply to Eyal Rozenberg from comment #8)
> Really? Why?

This case does not fit that policy; so the "why" does not apply here.
The answer to "why" is mostly this:
*generally* there's no way to find out the actual problem, that was fixed by resetting the profile; and also *usually* there's no way to repro. Hence a need to close without a code fix.

The WORKSFORME is misused here, as there's no better alternative

OTOH, whenever such a "profile corruption" has a reproducing scenario; or there is a copy of such a profile that allows to repro the resulting problem, and there's a reason to fix *that* resulting problem (as opposed to keeping the failure on such a corruption, and instead fixing the cause of corruption), this is *not* something we should close.

I recall several cases when we fixed problems that could be temporarily fixed by profile reset.

As said: I don't think this should be closed. The problem is clear, and even though I don't see an easy way to do this, there should be something to improve UX in such a case.

I also recall my comments elsewhere, when customized menus resulted in absence of new features, or broken existing features after upgrades, because menu changes (and UNO commands) weren't updated for the user. This is basically the same problem.
Comment 10 Mike Kaganski 2023-01-19 08:29:03 UTC
For a bug which could be solved by profile reset, but needed a proper fix: bug 135997.

For another problem with "sticky" UI breaking upgrade UX: bug 145982 (which *needs* a general fix, despite OP chose to close it).
Comment 11 Buovjaga 2023-01-19 09:17:00 UTC
Ok, then a zipped profile attached could help. I can't find/repro what I saw in the bibisect repos unfortunately, but as I saw it, I will set to NEW.
Comment 12 BogdanB 2023-04-02 16:02:18 UTC
Created attachment 186410 [details]
screenshot

I also have twice "Page". If someone need some info from my system, I am here.

Version: 7.5.2.1 (X86_64) / LibreOffice Community
Build ID: e8bf3b441b8370f8440b0339fd9490765a8d57ca
CPU threads: 16; OS: Linux 5.19; UI render: default; VCL: gtk3
Locale: ro-RO (ro_RO.UTF-8); UI: en-US
Calc: threaded