Bug 151472 - FORMATTING: Style change breaks direct formatting (bold, italic, underline)
Summary: FORMATTING: Style change breaks direct formatting (bold, italic, underline)
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
7.4.1.2 release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-11 18:59 UTC by Peter Gervai
Modified: 2023-03-15 21:46 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 Peter Gervai 2022-10-11 18:59:26 UTC
Description:
Afte changing Default style font the direct formatting styles stop working, or work erratically on zoom change or in combinations.

Steps to Reproduce:
1.open calc
2.type "hello world" in A1
3.press F11, right click on Default, change font to Linux Libertine or Lato Medium or probably any custom font, OK
4. click on A1, press Ctrl-B several times, and see no result.
5. try Ctrl-I, or Ctrl-U, and try to change the zoom. 


Actual Results:
Bold icon gets selected but font stays regular. Changing zoom level may change behaviour, and Italic may or may not work, and underline may or may not change bold and/or italic as well.

Expected Results:
Bold, Italic and Underline works as intended.


Reproducible: Always


User Profile Reset: No



Additional Info:
Probably broken for quite a while now, I kind of remember seeing it already.

Version: 7.4.1.2 / LibreOffice Community
Build ID: 40(Build:2)
CPU threads: 8; OS: Linux 5.18; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF8); UI: en-US
Debian package version: 1:7.4.1-1
Calc: threaded
Comment 1 Peter Gervai 2022-10-11 19:12:17 UTC
It seems that this is not Calc related: same effect is observable in Writer. Please reassign to the proper component, thank you!

It may be related to the actual fonts, since it doesn't seem to happen with FreeSerif, but happens with multiple custom fonts.

For example it is OK with "Linux Libertine G" but broken with "Linux Libertine Display O".

Bold broken with "Lato Medium" but works with "Lato".

Italic may work with those where bold was broken while not with others. Possibly related to font attributes?
Comment 2 Buovjaga 2023-02-24 15:19:52 UTC
I tried with Linux Libertine Display G and it works fine with 100% zoom even in 7.4.

Do you still see this with 7.5? One way to test is an appimage: https://www.libreoffice.org/download/appimage/

Set to NEEDINFO.
Change back to UNCONFIRMED, if the problem persists. Change to RESOLVED WORKSFORME, if the problem went away.

Arch Linux 64-bit, X11
Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: f12e547c42103a3b934b393b6b63c2b096bbd06e
CPU threads: 8; OS: Linux 6.1; UI render: default; VCL: kf5 (cairo+xcb)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Built on 24 February 2023
Comment 3 Peter Gervai 2023-03-15 21:46:48 UTC
It is _not_ broken in 7.4.5.1.