https://bugs.kde.org/show_bug.cgi?id=493550

            Bug ID: 493550
           Summary: Breeze doesn't allow "menubar color customization by
                    setting cusotm QPalette" anymore
    Classification: Plasma
           Product: Breeze
           Version: unspecified
          Platform: unspecified
                OS: Linux
            Status: REPORTED
          Severity: critical
          Priority: NOR
         Component: Color scheme
          Assignee: plasma-b...@kde.org
          Reporter: sa...@libreoffice.org
  Target Milestone: ---

Hi, I am Sahil Gautam, an active LibreOffice contributor, and a student. This
summer I worked on a GSoC project which
was about enabling UI color customization in LibreOffice. As a part of it, I
wrote some part in the core which managed the colors, and some code in the
VCL_PLUGINs (like Qt and GTK) where I use the colors, essentially putting them
into the
widget toolkits.

Everything worked fine, but around the end of august I noticed that the menubar
doesn't respond to the custom colors
anymore, and the story has been the same ever since. I realized it quite late
that it has something to do with the theme,
and not my code. I concluded this because on changing to different different
themes, I could see some parts of customization showing up, and some not. I
tried building breeze from source, but couldn't, as it wasn't as simple as
`kdesrc-build breeze` or using cmake.

Here are some useful links:
[Customization Patch]: https://gerrit.libreoffice.org/c/core/+/168901
[Project Report]:
https://printfdebugging.in/libreoffice_themes_final_report_gsoc_24.html

STEPS TO REPRODUCE
1. Setup libreoffice-dev, 
https://wiki.documentfoundation.org/Development/GetInvolved
2. Cherry-pick the patches in the hierarchy. (Part 1 then Part 3)
3.  Build and then try to change menubar colors from menubar > tools > options
> application colors.

OBSERVED RESULT
Menubar doesn't show  the custom palette's colors, and instead uses the desktop
environment's theme's style. This 
applies to all the customizations like the background color, the highlight
color, the text color, the highlight text color etc.
Some themes allow some of these.

EXPECTED RESULT
The menubar should respect the custom settings and show the colors accordingly.
I expect setting a custom palette to 
work without any workarounds.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.1.5
KDE Frameworks Version: 6.6.0
Qt Version: 6.7.2
Kernel Version: 6.10.10-arch1-1 (64-bit)
Graphics Platform: X11
Processors: 32 × AMD Ryzen 9 7950X 16-Core Processor
Memory: 54.5 GiB of RAM
Graphics Processor: AMD Radeon RX 6600
Manufacturer: Micro-Star International Co., Ltd.
Product Name: MS-7D73
System Version: 1.0

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to