Bug 133468

Summary: LO goes back automatically to paragraph styles instead of staying on frames styles after pressing OK
Product: LibreOffice Reporter: Telesto <telesto>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED DUPLICATE    
Severity: trivial CC: heiko.tietze, serval2412, thomas.lendo, xiscofauli
Priority: medium    
Version: 7.0.0.0.alpha1+   
Hardware: All   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=133206
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 107326    

Description Telesto 2020-05-28 08:10:38 UTC
Description:
"it's weird that once you click Ok, LO goes back automatically to paragraph styles instead of staying on frames styles"

Steps to Reproduce:
1. Open Writer
2. Sidebar -> Styles
3. Frame tab 
4. Right click Graphic -> Modify
5. Press Cancel
6. Tab switches to Paragraph -> Tab switch
7. Go to frame again
8. Right click Graphic -> Modify
5. Press Cancel -> No tab switch -> Graphic still selected

1. Open Writer
2. Sidebar -> Styles
3. Frame tab 
4. Right click Graphic -> Modify
5. Press OK
6. Tab switches to Paragraph -> Tab switch
7. Go to frame again
8. Right click Graphic -> Modify
5. Press OK  -> No tab switch & nothing selected in the sidebar




Actual Results:
Behavior different between first & second time pressing OK/Cancel
Behavior is different between pressing OK or Cancel the second time

Expected Results:
Should be coherent.. And I agree with Julien: it's weird that once you click Ok, LO goes back automatically to paragraph styles instead of staying on frames styles"

but probably a bigger picture.. 


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.1.0.0.alpha0+ (x64)
Build ID: 41d8b41767032681a9897b7551f011d450e3725e
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL
Comment 1 Telesto 2020-05-28 08:13:44 UTC
And the pressing OK behavior is also wrong; It moves focus to the top. See bug 133206
Comment 2 Heiko Tietze 2020-05-28 10:10:14 UTC
After editing styles in the sidebar the focus goes back to the document and you get the currently active style selected, which is usually PS. Is this a duplicate of 133385, kind of?
Comment 3 Xisco FaulĂ­ 2020-07-02 09:41:34 UTC
(In reply to Heiko Tietze from comment #2)
> After editing styles in the sidebar the focus goes back to the document and
> you get the currently active style selected, which is usually PS. Is this a
> duplicate of 133385, kind of?

bug 133385 is fixed in master.
@Telesto, is this issue still reproducible in master ?
Comment 4 Telesto 2020-07-03 19:56:30 UTC
Still repro.. only with an empty doc
Comment 5 Thomas Lendo 2020-08-03 21:55:15 UTC
In principle the same root cause as described in bug 133206.
Comment 6 Telesto 2020-08-03 22:18:33 UTC
(In reply to Thomas Lendo from comment #5)
> In principle the same root cause as described in bug 133206.

*** This bug has been marked as a duplicate of bug 133206 ***