Bug 119956 - Alt+Click on not active tab and editing tab text mixes up layer tab bar
Summary: Alt+Click on not active tab and editing tab text mixes up layer tab bar
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Regina Henschel
URL:
Whiteboard: target:6.2.0
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-18 12:34 UTC by Regina Henschel
Modified: 2018-10-16 17:23 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Regina Henschel 2018-09-18 12:34:19 UTC
Open Draw document and insert an own layer.
Click on layer "Layout".
Alt+click on you own layer, change the layer text and press Enter.
Notice, the text on layer "Layout" is changed.

This is not only an optical problem, but objects on that layer are affected too.
If you save the document and reopen it, you will get an empty layer "Layout" and a new layer with your entered name and all objects previously on layer "Layout".

The error is in MouseButtonDown in LayerTabBar.cxx.

I will fix it together with my work on bug 67248.
Comment 2 Commit Notification 2018-10-16 17:23:02 UTC
Regina Henschel committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=c8b68f7d63df9335ab4ef90441d3d2815bb4ddd6

tdf#119956 unit test, LayerTabBar, adapt focus if Alt+Click

It will be available in 6.2.0.

The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.