Description: If one tries to use a dark theme under plasma libreoffice is just unusable. See screenshot attached Steps to Reproduce: 1.Set Plasma to use theme Breeze-Dark (for both Qt and GTK3 software) 2.Set Libreoffice to use Breeze-Dark theme ( https://addons.mozilla.org/en-US/firefox/addon/plasma-5-breeze-dark/ ) Actual Results: SideBar, statusbar and others are not themed Expected Results: All of LibreOffice UI should be themed Reproducible: Always User Profile Reset: No Additional Info: User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0
Created attachment 140938 [details] ScreenShot Screenshot of Calc
(In reply to Merlinux from comment #0) > Steps to Reproduce: > 1.Set Plasma to use theme Breeze-Dark (for both Qt and GTK3 software) > 2.Set Libreoffice to use Breeze-Dark theme ( > https://addons.mozilla.org/en-US/firefox/addon/plasma-5-breeze-dark/ ) Why do you have that Firefox theme as step 2? It is completely unnecessary. Breeze Dark works just fine when you switch to it in the KDE settings and open LibreOffice. Sure, there are some issues like bug 116585, but not the ones you describe.
(In reply to Buovjaga from comment #2) > (In reply to Merlinux from comment #0) > > Steps to Reproduce: > > 1.Set Plasma to use theme Breeze-Dark (for both Qt and GTK3 software) > > 2.Set Libreoffice to use Breeze-Dark theme ( > > https://addons.mozilla.org/en-US/firefox/addon/plasma-5-breeze-dark/ ) > > Why do you have that Firefox theme as step 2? It is completely unnecessary. > Breeze Dark works just fine when you switch to it in the KDE settings and > open LibreOffice. Sure, there are some issues like bug 116585, but not the > ones you describe. That's weird, then... I'm on Tumbleweed and i do have KDE's GTK (2 and 3) Theme Settings all set to Breeze-Dark and still LibreOffice is all "Grey" unless i apply that Firefox theme which, even then, stays as the screenshot.
(In reply to Buovjaga from comment #2) > (In reply to Merlinux from comment #0) > > Steps to Reproduce: > > 1.Set Plasma to use theme Breeze-Dark (for both Qt and GTK3 software) > > 2.Set Libreoffice to use Breeze-Dark theme ( > > https://addons.mozilla.org/en-US/firefox/addon/plasma-5-breeze-dark/ ) > > Why do you have that Firefox theme as step 2? It is completely unnecessary. > Breeze Dark works just fine when you switch to it in the KDE settings and > open LibreOffice. Sure, there are some issues like bug 116585, but not the > ones you describe. Could it have anything to do with the fact that i'm using LibreOffice-GTK3 interface package instead of the old LibreOffice-GTK2?
No, forget about the KDE GTK settings - just use the normal KDE settings. Surely you are not running LibreOffice with SAL_USE_VCLPLUGIN=gtk3 libreoffice Under KDE you use the normal KDE integration VCL backend of LibreOffice.
(In reply to Buovjaga from comment #5) > No, forget about the KDE GTK settings - just use the normal KDE settings. All the other "normal" KDE settings are set to Breeze-Dark as well. > Surely you are not running LibreOffice with > SAL_USE_VCLPLUGIN=gtk3 libreoffice > > Under KDE you use the normal KDE integration VCL backend of LibreOffice. No idea how to do that! I have no VCL package installed, apparently. :( Please Advise :)
(In reply to Merlinux from comment #6) > (In reply to Buovjaga from comment #5) > > No, forget about the KDE GTK settings - just use the normal KDE settings. > > > All the other "normal" KDE settings are set to Breeze-Dark as well. > > > > Surely you are not running LibreOffice with > > SAL_USE_VCLPLUGIN=gtk3 libreoffice > > > > Under KDE you use the normal KDE integration VCL backend of LibreOffice. > > No idea how to do that! I have no VCL package installed, apparently. :( > > Please Advise :) I am a KDE user and Breeze Dark with LibreOffice is working fine without shoving GTK3 into the mix. VCL means Visual Components Libraries and it is inherited from OpenOffice.org. It is responsible for rendering the LibreOffice UI. https://docs.libreoffice.org/vcl.html You can see the VCL backend used in your Help - About dialog. For you I would assume it to be VCL: kde4;
(In reply to Buovjaga from comment #7) > I am a KDE user and Breeze Dark with LibreOffice is working fine without > shoving GTK3 into the mix. > > VCL means Visual Components Libraries and it is inherited from > OpenOffice.org. It is responsible for rendering the LibreOffice UI. > https://docs.libreoffice.org/vcl.html > > You can see the VCL backend used in your Help - About dialog. For you I > would assume it to be VCL: kde4; You are correct about that. However, weirdly, i was able to find a solution by removing the libreoffice-kde4 package and leaving libreoffice-gtk3. The first, apparently, is not as well supported as the later. Thank you for helping :)
Note that it is not strictly necessary to remove the kde4 integration package. You can somehow make an alias for the normal libreoffice command to be replaced with SAL_USE_VCLPLUGIN=gtk3 libreoffice ...as you had the gtk3 package installed.
(In reply to Buovjaga from comment #9) > Note that it is not strictly necessary to remove the kde4 integration > package. You can somehow make an alias for the normal libreoffice command to > be replaced with > SAL_USE_VCLPLUGIN=gtk3 libreoffice > > ...as you had the gtk3 package installed. Where and how can i do that? =)
(In reply to Merlinux from comment #10) > (In reply to Buovjaga from comment #9) > > Note that it is not strictly necessary to remove the kde4 integration > > package. You can somehow make an alias for the normal libreoffice command to > > be replaced with > > SAL_USE_VCLPLUGIN=gtk3 libreoffice > > > > ...as you had the gtk3 package installed. > > Where and how can i do that? =) Well, I tried it, but could not make it work. Anyway, it *should* work like this and maybe it will work for you: in /usr/lib/libreoffice/share/xdg/ are the .desktop files for LibreOffice. The files have Exec= entries for normal start and "new document". You should change the Exec entries so they start like Exec=env SAL_USE_VCLPLUGIN=gtk3 libreoffice Finally, copy the files to /home/username/.local/share/applications/ so they will not be overwritten.
Ah, I ran into something simpler: edit the file at : /etc/profile.d/libreoffice-fresh.sh and uncomment SAL_USE_VCLPLUGIN=gtk3 (you need to reboot for this change to take effect). Don't have time now to reboot, but I hope it works for you.
(In reply to Buovjaga from comment #12) > Ah, I ran into something simpler: > edit the file at : /etc/profile.d/libreoffice-fresh.sh and uncomment > SAL_USE_VCLPLUGIN=gtk3 (you need to reboot for this change to take effect). > > Don't have time now to reboot, but I hope it works for you. I'm sorry. I'm tired of looking and trying to find that file, but i'm clueless! I'm on openSUSE tumbleweed and i can't seem to find any libreoffice-fresh.sh to uncomment the line you mentioned. Can you provide any clue? Thank You
(In reply to Merlinux from comment #13) > (In reply to Buovjaga from comment #12) > > Ah, I ran into something simpler: > > edit the file at : /etc/profile.d/libreoffice-fresh.sh and uncomment > > SAL_USE_VCLPLUGIN=gtk3 (you need to reboot for this change to take effect). > > > > Don't have time now to reboot, but I hope it works for you. > > I'm sorry. I'm tired of looking and trying to find that file, but i'm > clueless! > I'm on openSUSE tumbleweed and i can't seem to find any libreoffice-fresh.sh > to uncomment the line you mentioned. > > Can you provide any clue? > Thank You Ok, if it does not exist, create it from scratch and let the contents be: export SAL_USE_VCLPLUGIN=gtk3 Also make it executable.
(In reply to Buovjaga from comment #14) > (In reply to Merlinux from comment #13) > > (In reply to Buovjaga from comment #12) > > > Ah, I ran into something simpler: > > > edit the file at : /etc/profile.d/libreoffice-fresh.sh and uncomment > > > SAL_USE_VCLPLUGIN=gtk3 (you need to reboot for this change to take effect). > > > > > > Don't have time now to reboot, but I hope it works for you. > > > > I'm sorry. I'm tired of looking and trying to find that file, but i'm > > clueless! > > I'm on openSUSE tumbleweed and i can't seem to find any libreoffice-fresh.sh > > to uncomment the line you mentioned. > > > > Can you provide any clue? > > Thank You > > Ok, if it does not exist, create it from scratch and let the contents be: > export SAL_USE_VCLPLUGIN=gtk3 > > Also make it executable. Worked like a charm!!! THANK YOU!!! :D Do you think KDE5 back-end( https://anzwix.com/a/LibreOffice/Add%20KDE5%20Desktop%20Backend ) will solve this kde integration problem?
(In reply to Merlinux from comment #15) > Worked like a charm!!! THANK YOU!!! :D > > Do you think KDE5 back-end( > https://anzwix.com/a/LibreOffice/Add%20KDE5%20Desktop%20Backend ) will solve > this kde integration problem? Cool to hear :) Maybe the next gen kde backend will solve it, hard to say at this point. My understanding is that Milian was working towards a "KDE file dialogs on top of GTK3" -solution, but there is more fundamental work going on: https://cgit.freedesktop.org/libreoffice/core/log/?h=private/jmux/qt5_fixes and https://cgit.freedesktop.org/libreoffice/core/log/?h=feature/qt5%2bkde5 Yesterday bubli said on IRC that she got native KDE5 dialogs to appear.
A similar issue happened to me. I set the icon theme in Plasma under GNOME/GTK Application Style to Breeze Dark. Then, as I launched LibreOffice Draw, all the icons on the left in the DRaw toolbar, were invisible as they were black on very dark grey background and unter less than optimal lightning conditions, it simply is impossible to make out the icons. I essentially had to hover the cursor over each button to see the tooltip which would allow me to recognize where I clicked. I had to manually go to Tools - Options - LibreOffice - View and set the Icon style to Breeze (dark) upon whihc the icons appear perfectly fine. No manual selection of the dark theme should be required ifit can be inherited from the global plasma configuration. This is in version 6.3.4.2.0+ Steps to Reproduce: Set Plasma Style to Breeze Dark, set Application Style > GNOME/GTK Application Style GTK2 theseme & GTK3 theme to Breeze-Dark, set Icon theme to Breeze Dark in Plasma's System Settings dialog. Actual Results: Draw will start with having its Icon style set to Breeze in Tools - Options - View dialog which leads to terrible contrast ratios for the icons in the program! Expected Results: The Icon Style in Draw shgould be set to Breeze (dark) automatically. Reproducible: Always User Profile Reset: No Additional info: LSB Version: 1.4 Distributor ID: Arch Description: Arch Linux Release: rolling Codename: n/a
stdcerr: please open a new report. Include the text in your Help - About (it can be selected, copied & pasted)
Ok, Here's latest update, you can set breeze(dark) under tools>options>view>icon style, and all will be set correctly.