Download it now!
Bug 84605 - New dropdown style menu acts on the applied style instead of the selected one
Summary: New dropdown style menu acts on the applied style instead of the selected one
Status: VERIFIED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
4.4.0.0.alpha0+ Master
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Szymon Kłos
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-02 18:11 UTC by Jean-Baptiste Faure
Modified: 2014-10-04 14:46 UTC (History)
3 users (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 Jean-Baptiste Faure 2014-10-02 18:11:55 UTC
Steps to reproduce:
- try to do the same thing as https://wiki.documentfoundation.org/images/thumb/3/33/Styledropdown.png/300px-Styledropdown.png

current behavior: the "Edit Style" edits the Default style, not the Quotation style as expected.

Tested on my build of the master (Build ID: b6cff5fae1a91549402bdee55a1077719f7b9c65) under Ubuntu 14.04 x86-64

Best regards. JBF
Comment 1 Yousuf Philips (jay) (retired) 2014-10-02 20:48:30 UTC
What i can see visually is that when i press 'edit style', the blue selection of the style which the drop down was on, jumps to the top of the list, which is 'Default Style' and then the dialog appears.
Comment 2 Yousuf Philips (jay) (retired) 2014-10-02 20:56:37 UTC
Also noticed that this behaviour doesnt happen when the current style that is to be edited is already set. Meaning, if the text is 'Heading 1' and you click to edit 'Heading 1' it will work correctly.
Comment 3 Tin Man 2014-10-02 21:10:17 UTC
(In reply to Jean-Baptiste Faure from comment #0)
> Steps to reproduce:
> - try to do the same thing as
> https://wiki.documentfoundation.org/images/thumb/3/33/Styledropdown.png/
> 300px-Styledropdown.png
> 
> current behavior: the "Edit Style" edits the Default style, not the
> Quotation style as expected.
> 
> Tested on my build of the master (Build ID:
> b6cff5fae1a91549402bdee55a1077719f7b9c65) under Ubuntu 14.04 x86-64
> 
> Best regards. JBF

Does "Update Style Based on Selection" work?
Comment 4 Yousuf Philips (jay) (retired) 2014-10-02 23:19:16 UTC
(In reply to Mirek2 from comment #3)
> Does "Update Style Based on Selection" work?

It has worked for me. :)
Comment 6 Jean-Baptiste Faure 2014-10-04 14:46:46 UTC
Tested this morning with Version: 4.4.0.0.alpha0+
Build ID: 24fb87501ef9d5aa715d572de7eb5efe49a0d9c3 built at home under Ubuntu 14.04 x86-64.

Works as expected. Thank you very for the quick fix.

Best regards. JBF