After upgrade the gnome from 3.4.1 to 3.6.2 version the variable OOO_FORCE_DESKTOP=gnome don't work anymore. Libreoffice-bin (3.6.4.3) now use the default theme instead of using the gnome theme. I use Openbox as a stand-alone window manager with gnome applications. Reproducible: Always Steps to Reproduce: 1. export OOO_FORCE_DESKTOP=gnome 2. soffice 3. Actual Results: Show the libreoffice default theme. Expected Results: Show the gnome theme.
Created attachment 333636 [details] emerge --info report emerge --info report
Try: SAL_USE_VCL_PLUGIN=gtk lowriter
(In reply to comment #2) > Try: > > SAL_USE_VCL_PLUGIN=gtk lowriter Thank you for your suggestion. I tried what you suggested but it did not work. This OOO_FORCE_DESKTOP=gnome work with gnome 3.4. Something has changed between gnome 3.4 and 3.6.
For what it's worth, "OOO_FORCE_DESKTOP=kde soffice" and "OOO_FORCE_DESKTOP=gnome soffice" both work as expected under gnome-3.6: the first one gives a kde-style UI, the second one gives a gnome-style UI. I suspect that whatever is causing this problem has to do with your openbox setup, and whether you are using a login manager (gdm/kdm/lightdm/etc.) or are trying to launching your X session manually from the console (which is hard to do correctly for the modern desktop).
(In reply to comment #4) > For what it's worth, "OOO_FORCE_DESKTOP=kde soffice" and > "OOO_FORCE_DESKTOP=gnome soffice" both work as expected under gnome-3.6: the > first one gives a kde-style UI, the second one gives a gnome-style UI. > > I suspect that whatever is causing this problem has to do with your openbox > setup, and whether you are using a login manager (gdm/kdm/lightdm/etc.) or > are trying to launching your X session manually from the console (which is > hard to do correctly for the modern desktop). These are my installed packages: x11-wm/openbox-3.5.0_p20121006 x11-misc/lightdm-1.4.0 With gnome 3.4 "OOO_FORCE_DESKTOP=gnome soffice" work fine.
Created attachment 333710 [details] Libreoffice without gnome theme. The attach file show the Libreoffice without gnome theme after running "OOO_FORCE_DESKTOP=gnome soffice" command.
Created attachment 333712 [details] Openoffice with gnome theme. To rule out the problem, I installed the 3.6 Openoffice version. The attach file show the Openoffice with gnome theme after running "OOO_FORCE_DESKTOP=gnome soffice" command. Conclusion: The OOO_FORCE_DESKTOP variable work with Openoffice, but not work with Libreoffice.
The SAL_USE_VCL_PLUGIN=gtk must work If that does not work you can try to strace it because it fails to load some object and thus fallback to the generic display.
(In reply to comment #8) > The SAL_USE_VCL_PLUGIN=gtk must work > > If that does not work you can try to strace it because it fails to load some > object and thus fallback to the generic display. strace don't work. $ SAL_USE_VCL_PLUGIN=gtk soffice --strace Error: Can't find the tool "strace", --strace option will be ignored. But backtrace option work: $ SAL_USE_VCL_PLUGIN=gtk soffice --backtrace $ more gdbtrace.log warning: Currently logging to gdbtrace.log. Turn the logging off and on to make the new setting effective. warning: Could not load shared library symbols for linux-vdso.so.1. Do you need "set solib-search-path" or "set sysroot"? [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". [New Thread 0x7fffecb91700 (LWP 15976)] [New Thread 0x7fffe958e700 (LWP 15977)] [New Thread 0x7fffe8d8d700 (LWP 15978)] [New Thread 0x7fffdbfff700 (LWP 15980)] [New Thread 0x7fffdb370700 (LWP 15981)] ...
I ment it other way around. :-) Install strace, and run export THEVAR=bla ; strace soffice.bin
Created attachment 333786 [details] strace.log $ SAL_USE_VCL_PLUGIN=gtk loffice --strace
Hmm, I can't find any obvious problem in the log. Do you still have this issue?
(In reply to Andreas K. Hüttel from comment #12) > Hmm, I can't find any obvious problem in the log. > > Do you still have this issue? No response.