Bug 154857 - when switching between application colors, formula content does not update
Summary: when switching between application colors, formula content does not update
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: graphics stack (show other bugs)
Version:
(earliest affected)
7.5.2.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-17 11:13 UTC by Simon Mikkelsen
Modified: 2023-11-01 19:56 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
dark mode(unupdated formula) (62.43 KB, image/png)
2023-04-17 11:14 UTC, Simon Mikkelsen
Details
light mode (63.73 KB, image/png)
2023-04-17 11:14 UTC, Simon Mikkelsen
Details
dark mode(updated formula) (282.25 KB, image/png)
2023-04-17 11:15 UTC, Simon Mikkelsen
Details
light mode(unupdated formula) (56.13 KB, image/png)
2023-04-17 11:15 UTC, Simon Mikkelsen
Details
light mode(updated formula) (162.37 KB, image/png)
2023-04-17 11:15 UTC, Simon Mikkelsen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Mikkelsen 2023-04-17 11:13:11 UTC
When switching between light and dark modes in a LibreOffice document, be it writer or impress and calc when switching to dark from light, the text in the formula does not change with the theme.

it is quite important for printing. because when you print/(print-to-a-file/export-as-pdf) it switches over to light theme, and because the formula does not update, it prints with the formula "missing". causing great pain to students rushing to get their assignment delivered in time.
Comment 1 Simon Mikkelsen 2023-04-17 11:14:04 UTC
Created attachment 186718 [details]
dark mode(unupdated formula)
Comment 2 Simon Mikkelsen 2023-04-17 11:14:47 UTC
Created attachment 186719 [details]
light mode
Comment 3 Simon Mikkelsen 2023-04-17 11:15:10 UTC
Created attachment 186720 [details]
dark mode(updated formula)
Comment 4 Simon Mikkelsen 2023-04-17 11:15:35 UTC
Created attachment 186721 [details]
light mode(unupdated formula)
Comment 5 Simon Mikkelsen 2023-04-17 11:15:56 UTC
Created attachment 186722 [details]
light mode(updated formula)
Comment 6 Stéphane Guillou (stragu) 2023-04-17 12:32:02 UTC
Can you please paste here the information from Help > About LibreOffice, and what desktop environment (and theme if applicable) you are using?
Comment 7 Simon Mikkelsen 2023-04-20 19:47:18 UTC
sorry for late reply, for some reason it didn't send and saw it just now.



libreoffice info:
Version: 7.5.2.2 (X86_64) / LibreOffice Community
Build ID: 50(Build:2)
CPU threads: 16; OS: Linux 6.1; UI render: default; VCL: kf5 (cairo+wayland)
Locale: da-DK (en_DK.UTF-8); UI: en-GB
7.5.2-1
Calc: threaded



info:
System:
  Host: zephyrusg14-ga402rkga402rk Kernel: 6.1.23-1-MANJARO
    arch: x86_64 bits: 64 Desktop: KDE Plasma v: 5.27.4 Distro: Manjaro Linux
Machine:
  Type: Laptop System: ASUSTeK product: ROG Zephyrus G14 GA402RK_GA402RK
  Mobo: ASUSTeK model: GA402RK v: 1.0 serial: <superuser required>
    UEFI: American Megatrends LLC. v: GA402RK.318 date: 03/09/2023

CPU:
  Info: 8-core model: AMD Ryzen 9 6900HS with Radeon Graphics bits: 64
    type: MT MCP cache: L2: 4 MiB
  Speed (MHz): avg: 1591 min/max: 1600/4934 cores: 1: 1600 2: 1372 3: 1368
    4: 1600 5: 1304 6: 1600 7: 3300 8: 1600 9: 1600 10: 1283 11: 1600 12: 1600
    13: 1306 14: 1366 15: 1600 16: 1364

Graphics:
  Device-1: AMD Navi 23 [Radeon RX 6650 XT / 6700S 6800S] driver: amdgpu
    v: kernel
  Device-2: AMD Rembrandt [Radeon 680M] driver: amdgpu v: kernel
  Device-3: Quanta USB2.0 HD UVC WebCam type: USB driver: uvcvideo
  Display: wayland server: X.org v: 1.21.1.8 with: Xwayland v: 23.1.1
    compositor: kwin_wayland driver: X: loaded: amdgpu
    unloaded: modesetting,radeon dri: radeonsi gpu: amdgpu,amdgpu
    resolution: 1707x1067
  API: OpenGL v: 4.6 Mesa 23.0.2 renderer: AMD Radeon Graphics (rembrandt
    LLVM 15.0.7 DRM 3.49 6.1.23-1-MANJARO)

Drives:
  Local Storage: total: 1.86 TiB used: 154.33 GiB (8.1%)
  ID-1: /dev/nvme0n1 vendor: Toshiba model: N/A size: 1.86 TiB

Partition:
  ID-1: / size: 891.53 GiB used: 77.36 GiB (8.7%) fs: ext4 dev: /dev/nvme0n1p5
  ID-2: /boot/efi size: 256 MiB used: 67.8 MiB (26.5%) fs: vfat
    dev: /dev/nvme0n1p1
  ID-3: /home size: 93.13 GiB used: 76.9 GiB (82.6%) fs: ntfs
    dev: /dev/nvme0n1p6

Info:
  Processes: 405 Uptime: 10h 5m Memory: 30.59 GiB used: 11.72 GiB (38.3%)
  Shell: Zsh inxi: 3.3.26
Comment 8 Buovjaga 2023-11-01 18:30:40 UTC
Reproduced, Tools - Options - LibreOffice - Application Colors - Automatic: Dark.

Arch Linux 64-bit, X11
Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 6abe70d181e764c962a9c5e85e826247650bab3a
CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: kf5 (cairo+wayland)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Built on 1 November 2023
Comment 9 Buovjaga 2023-11-01 19:56:03 UTC
(In reply to Buovjaga from comment #8)
> Reproduced, Tools - Options - LibreOffice - Application Colors - Automatic:
> Dark.
> 
> Arch Linux 64-bit, X11
> Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
> Build ID: 6abe70d181e764c962a9c5e85e826247650bab3a
> CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: kf5 (cairo+wayland)
> Locale: fi-FI (fi_FI.UTF-8); UI: en-US
> Calc: threaded
> Built on 1 November 2023

I forgot to replace my stock "X11" in there, but now I also tested under X11 and I reproduce the problem.

Also repro with gtk3 and gen UIs.