Bug 162546 - UI: Lineheight is changing during font selection
Summary: UI: Lineheight is changing during font selection
Status: RESOLVED DUPLICATE of bug 144151
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
24.2.4.2 release
Hardware: x86-64 (AMD64) Windows (All)
: medium minor
Assignee: Not Assigned
URL:
Whiteboard: QA:needsComment
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-21 21:28 UTC by Manu
Modified: 2024-09-26 23:14 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
bug font selection and lineheight recalculation unexpected (27.23 KB, application/vnd.oasis.opendocument.spreadsheet)
2024-08-21 21:28 UTC, Manu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Manu 2024-08-21 21:28:34 UTC
Created attachment 195940 [details]
bug font selection and lineheight recalculation unexpected

Version: 24.2.4.2 (X86_64) / LibreOffice Community
Build ID: 51a6219feb6075d9a4c46691dcfe0cd9c4fff3c2
CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: fr-FR (fr_FR); UI: fr-FR
Calc: threaded

See example:
- select column 2
- expand the list of fonts
- move the mouse pointer in the list and observe (without clicking)!
-> the statusline blinks !
I have also seen the lineheight of all lines in the sheet being recalculated and redrawn (without validation of the font)! but I can't reproduce it with this example.

Now, select a font and click, we can see a delay before the selection (in the font list) is displayed.

Moreover, after this action, the already declared bug is activated and make the moving between cells very slow (recalculation of lineheight of all the sheet with status line blinking).
And if you try again the font selection on a column, then the delay is bigger when we move between the different fonts.

Is this recalculation really needed before the new font is validated???
and when we move from cell to cell???
Comment 1 Manu 2024-09-26 23:14:54 UTC
This is how the actual "live preview" function works in Calc when we select cells and go into the font combobox.

See the bug 144151 for understanding the problems generated by this function:
- delay with specific files (not only huge file, but also specific file like the small one described in the bug 161898).
- systematic recalculation when we move from cell to cell if we don't know how to disactivate the bug.

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