Bug 145493 - TABBED NOTEBOOKBAR: Changing style in styles preview unfocuses text
Summary: TABBED NOTEBOOKBAR: Changing style in styles preview unfocuses text
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.4.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Notebookbar-Tabbed
  Show dependency treegraph
 
Reported: 2021-11-01 14:47 UTC by Aleš Nezbeda
Modified: 2023-10-20 09:27 UTC (History)
2 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 Aleš Nezbeda 2021-11-01 14:47:51 UTC
Description:
When focused on page (having cursor on page) clicking on wanted style in styles preview in home tab unfocuses the page, which results in unability to write before u click on a line that you want to write on again.

This becomes annoying when you writing document from scratch and you create new headings etc. as it breaks your flow more than is necessary.

This also occurs when changing styles in styles sidebar.

Steps to Reproduce:
1. Open document
2. Change style via styles preview (or styles sidebar)

Actual Results:
Styles preview is now focused and when u start typing you start searching in styles by first letter instead of writing text into the document.

Expected Results:
Document stays focused and cursor stays on the same position as it was before changing style.


Reproducible: Always


User Profile Reset: No



Additional Info:
Using LibreOffice fresh from official Arch repository (shouldn't be the reason, as this seems more like not implemented feature not bug)
Comment 1 Dieter 2021-11-17 07:15:30 UTC
I confirm it with

Version: 7.2.3.1 (x64) / LibreOffice Community
Build ID: 1d5dee817bde88d78dbcc0d00f88492568e131d5
CPU threads: 4; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL

I would treat it as a bug, because if you select styles in sidebar it works.
Comment 2 Sophie Sipasseuth 2023-10-20 09:10:37 UTC
(In reply to Dieter from comment #1)
> I confirm it with
> 
> Version: 7.2.3.1 (x64) / LibreOffice Community
> Build ID: 1d5dee817bde88d78dbcc0d00f88492568e131d5
> CPU threads: 4; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL:
> win
> Locale: de-DE (de_DE); UI: en-GB
> Calc: CL
> 
> I would treat it as a bug, because if you select styles in sidebar it works.


I confirm it with the last version of LibreOffice:

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: e9374f74385d7dfe77d1902d3d82af20143bc775
CPU threads: 8; OS: Windows 10.0 Build 22621; UI render: Skia/Raster; VCL: win
Locale: fr-FR (fr_FR); UI: fr-FR
Calc: threaded
Comment 3 Sophie Sipasseuth 2023-10-20 09:22:39 UTC
Repro with

Version: 7.1.0.0.alpha1+ (x64)
Build ID: 738bcf5e9a8c443d60c29c3a8068e8c16c72638a
CPU threads: 8; OS: Windows 10.0 Build 22621; UI render: Skia/Vulkan; VCL: win
Locale: fr-FR (fr_FR); UI: en-US
Calc: threaded

But in this version of LibreOffice, when you put your cursor at the beginning of one text without style and without selection of text, and then you select a style in the sidebar, it changes a big part of the text with style.

However, the expected result is that you select the style and then write your text with the format of the selected style.

There is also a problem with the menu style; it doesn't keep the cursor on the text and loses it.
Comment 4 Sophie Sipasseuth 2023-10-20 09:27:26 UTC
Idem with

Version: 6.4.0.0.alpha1+ (x64)
Build ID: 9bc848cf0d301aa57eabcffa101a1cf87bad6470
CPU threads: 8; OS: Windows 10.0 Build 22621; UI render: GL; VCL: win; 
Locale: fr-FR (fr_FR); UI-Language: en-US
Calc: threaded

Version: 7.0.0.0.alpha1+ (x64)
Build ID: 574c57090642347980d2395e1e183cc7b5c171ad
CPU threads: 8; OS: Windows 10.0 Build 22621; UI render: Skia/Vulkan; VCL: win
Locale: fr-FR (fr_FR); UI: en-US
Calc: threaded

Version: 6.4.0.0.alpha1+ (x64)
Build ID: 9bc848cf0d301aa57eabcffa101a1cf87bad6470
CPU threads: 8; OS: Windows 10.0 Build 22621; UI render: GL; VCL: win; 
Locale: fr-FR (fr_FR); UI-Language: en-US
Calc: threaded

Version: 5.4.0.0.alpha1+
Build ID: 9feb7f7039a3b59974cbf266922177e961a52dd1
CPU threads: 8; OS: Windows 6.19; UI render: GL; 
Locale: fr-FR (fr_FR); Calc: group

This bug seems old.