Page 1 of 1
Missing arrow keys on scrollbars
Posted: Sun Aug 08, 2021 4:26 am
by xode0000
Please see attached screenshot.
Re: Missing arrow keys on scrollbars
Posted: Sun Aug 08, 2021 8:18 am
by Zizi64
There are arrows in my AOO 4.1.7 Portable version on Windows 10.
Re: Missing arrow keys on scrollbars
Posted: Sun Aug 08, 2021 8:33 am
by RoryOF
No arrows on my OpenOffice using Xubuntu; simply pull the shaded sliders to move the display.
Re: Missing arrow keys on scrollbars
Posted: Sun Aug 08, 2021 9:15 am
by xode0000
Zizi64 wrote:There are arrows in my AOO 4.1.7 Portable version on Windows 10.
This would suggest the missing arrow keys in Open Office 4.1.7 are not by design, and that some GUI library is missing in my Linux system, but what?
Re: Missing arrow keys on scrollbars
Posted: Sun Aug 08, 2021 9:48 am
by robleyd
Or it might suggest that the widget style in KDE is configured to not show scroll bar arrows. For example, the Oxygen theme has scroll bar configuration.
Re: Missing arrow keys on scrollbars
Posted: Sun Aug 08, 2021 9:52 am
by Hagar Delest
Try the standard VCL plugin with SAL_USE_VCLPLUGIN=gen. Try to launch AOO from terminal with SAL_USE_VCLPLUGIN=gen soffice and see if they are there.
No integration with the theme but personally I prefer it that way (on my LibreOffice).
Re: Missing arrow keys on scrollbars
Posted: Sun Aug 08, 2021 1:15 pm
by Villeroy
Hagar Delest wrote:Try the standard VCL plugin with SAL_USE_VCLPLUGIN=gen. Try to launch AOO from terminal with SAL_USE_VCLPLUGIN=gen soffice and see if they are there.
No integration with the theme but personally I prefer it that way (on my LibreOffice).

Solves a lot of minor issues with LO
------
but with OpenOffice:
Code: Select all
SAL_USE_VCLPLUGIN=gen /opt/openoffice4/program/soffice
terminate called after throwing an instance of 'com::sun::star::loader::CannotActivateFactoryException'
Application Error
Fatal exception: Signal 6
Re: Missing arrow keys on scrollbars
Posted: Sun Aug 08, 2021 2:19 pm
by Hagar Delest
I've used this trick for years with AOO also on my xubuntu box.
Creating a .desktop file doesn't work for files launched by another application (mail attachment for example). I used to tweak the soffice file in /usr/bin to include the line "export SAL_USE_VCLPLUGIN=gen".
Re: Missing arrow keys on scrollbars
Posted: Sun Aug 08, 2021 3:53 pm
by Villeroy
Replacing symlink /usr/bin/soffice with an executable script seems to do the trick:
Code: Select all
SAL_USE_VCLPLUGIN=gen /usr/lib/libreoffice/program/soffice $@
but now the libreoffice.desktop files don't work properly. I can't dock the symbol to the ... "task bar".
I thought of setting SAL_USE_VCLPLUGIN in the global environment but forgot how to do that properly.
Re: Missing arrow keys on scrollbars
Posted: Sun Aug 08, 2021 6:34 pm
by Hagar Delest
Actually, since I've installed manually LO to prevent an automatic upgrade to 7.1, I've added the export line in /opt/libreoffice7.0/program/soffice and I've 2 symlinks (soffice and libreoffice7.0 in /usr/local/bin). No problem to pin the LO icon in the XFCE dekstop bar, using the standard entry detected by the system, no need of a custom .desktop file.
Re: Missing arrow keys on scrollbars
Posted: Sun Aug 08, 2021 6:49 pm
by Villeroy
I see. In a Gnome environment the desktop integration depends on
SAL_USE_VCLPLUGIN=gtk
With SAL_USE_VCLPLUGIN=gen the documents do not appear in Gnomes list of recently used files and the application is somewhat invisible.
For now I'll recover the default status and use the variable when needed.
Re: Missing arrow keys on scrollbars
Posted: Sun Aug 08, 2021 10:44 pm
by xode0000
Code: Select all
joe@linux-0000:~> SAL_USE_VCLPLUGIN=gen /opt/openoffice4/program/soffice
/opt/openoffice4/program/soffice: line 121: 6653 Segmentation fault "$sd_prog/$sd_binary" "$@"
SAL_USE_VCLPLUGIN=gen /opt/openoffice4/program/soffice does start up the program for me to use but receives a segfault when I close it out. That could mean the program would be unstable when used that way.
Code: Select all
joe@linux-0000:~> /opt/openoffice4/program/soffice
(soffice:6685): Pango-WARNING **: /usr/lib/pango/1.8.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS32
Is it possible the error of
Pango-WARNING **: /usr/lib/pango/1.8.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS32 could be why the scrollbar arrows are missing when Open Office is started the regular way?
Re: Missing arrow keys on scrollbars
Posted: Sun Aug 08, 2021 11:21 pm
by xode0000
robleyd wrote:Or it might suggest that the widget style in KDE is configured to not show scroll bar arrows. For example, the Oxygen theme has scroll bar configuration.
My understanding is by KDE, you're referring to KDE5. However, I'm using KDE3.5 as the GUI desktop. Do you know how to configure KDE5 widgets from KDE3.5. So far, I haven't been able to find anything about that.
Re: Missing arrow keys on scrollbars
Posted: Mon Aug 09, 2021 1:08 am
by robleyd
I'm actually using KDE 4.14.3. On reflection, if your problem is only with OpenOffice, my suggestion is not relevant.
Re: Missing arrow keys on scrollbars
Posted: Mon Aug 09, 2021 9:41 am
by Hagar Delest
@ xode0000: no idea. The generic VCL plugin trick may not work for all desktop managers.
Re: Missing arrow keys on scrollbars
Posted: Tue Aug 10, 2021 6:28 pm
by MrProgrammer
Hi, and welcome to the forum.
xode0000 wrote:Please see attached screenshot.
This is my screen on
MacOS 10.14.6 with OpenOffice 4.1.7. The scrollbars look acceptable to me, similar to other Mac applications.
xode0000 wrote:Is it a bug?
I can't say because I am not a developer. This is not a developers' forum. Look in
OpenOffice Bugzilla. Can you find it there as an accepted issue? Then it's a bug. Otherwise it's not. Did my system a dozen years ago used to show arrows at the ends of the scrollbar? I have no idea. Even if it did, just because something has changed doesn't make it a bug.
Re: Missing arrow keys on scrollbars
Posted: Tue Aug 10, 2021 9:15 pm
by Villeroy
I don't think, it's a bug. My desktop environment does not show any scroll buttons neither. All appllications show the same scroll bars without buttons on the ends, except OpenOffice which uses its own widgets with classic scrollbars.