Bug 139830 - Wrong sidebar state for chart after switching LO windows.
Summary: Wrong sidebar state for chart after switching LO windows.
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
7.2.0.0.alpha0+
Hardware: All All
: medium normal
Assignee: Tamás Zolnai
URL:
Whiteboard: target:7.2.0
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-22 11:05 UTC by Tamás Zolnai
Modified: 2021-02-11 11:03 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Video capture showing the issue. (5.98 MB, video/webm)
2021-01-22 11:13 UTC, Tamás Zolnai
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tamás Zolnai 2021-01-22 11:05:48 UTC
Description:
The sidebar always has a context based on the selected object. This context (e.g. text, table, cell) defines what the sidebar should look like. When I double click on a chart, the document steps into chart editing mode and the sidebar also shows chart related options.
The problem comes up when I have two LO windows opened (with two different documents). When I'm editing the chart and in the meantime, I'm switching between the windows, the sidebar fails to show the right chart related option. I need to exit and reenter chart editing mode to get back the right chart related options on the sidebar.
I can see the issue in Calc and Writer, but not in Impress.

Steps to Reproduce:
1. Open two Calc documents in two LO windows.
2. Insert a chart inside the first document. -> chart editing mode is on by insertion.
3. Switch to the second window and then switch back.


Actual Results:
The sidebar become useless. It shows the text related options, but all are disabled.

Expected Results:
The sidebar should show the chart related options after switching back to the first document.


Reproducible: Always


User Profile Reset: No



Additional Info:
.
Comment 1 Tamás Zolnai 2021-01-22 11:13:29 UTC
Created attachment 169086 [details]
Video capture showing the issue.
Comment 2 Commit Notification 2021-01-25 13:58:13 UTC
Tamás Zolnai committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/ce95ce5d871f06da490bbd47e91ce48073128e79

tdf#139830: keep the right sidebar context for chart after view switch (calc).

It will be available in 7.2.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 3 Commit Notification 2021-01-25 15:31:10 UTC
Tamás Zolnai committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/5f9b8a1c9a53cb17e87f1ca4f1b1a0de3abd5864

tdf#139830: keep the right context for chart after view switch (impress).

It will be available in 7.2.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 4 Commit Notification 2021-01-25 17:41:22 UTC
Tamás Zolnai committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/4211ce171cceee978b6e85ea9accaa6726e774c4

tdf#139830: keep the right context for chart after view switch (writer).

It will be available in 7.2.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.