Bug 124004 - Editing a style with bullets, font list too long for screen, no scroll bars
Summary: Editing a style with bullets, font list too long for screen, no scroll bars
Status: CLOSED NOTOURBUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
6.2.1.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-11 17:04 UTC by Peter Freeth
Modified: 2019-03-19 16:14 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot showing font list with no scroll bars (273.00 KB, image/png)
2019-03-11 17:04 UTC, Peter Freeth
Details
The correct behaviour in Windows 6.2.0.3 (245.98 KB, image/jpeg)
2019-03-14 09:37 UTC, Peter Freeth
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Freeth 2019-03-11 17:04:28 UTC
Created attachment 149890 [details]
Screenshot showing font list with no scroll bars

When I select a font from the main editing window in LO Writer I get a list with scroll bars, which is vital as I have a lot of fonts installed.

However when I edit a style and want to select a font for bullets, there are no scroll bars and I can only see the first 35ish fonts in my list, so I cannot choose the font I need. If I move down the list with the down cursor arrow then press return to select, the selection has indeed moved down the list, however the list display does not scroll so I can't see which font is selected.

If I type the font name in, it is recognised from the list, but the character selection table doesn't update so I can't use that method.

I have tried this in LO Impress and it's the same, when editing a style that has bullets. The font selection dialogue for choosing the character of a bullet is different to that for choosing a regular text font.

I've taken a screenshot:

https://pasteboard.co/I4VztI8.png

System details: Version: 6.1.4.2 Build ID: 1:6.1.4-0ubuntu0.18.10.1

I also installed 6.2.1, no difference. 

I changed the application theme from Yaru to all the other options, to see if it was a gtk formatting problem, no difference.

I have also tried adding/editing the scrollbar width in the gtkrc file in the theme, no difference.
Comment 1 Peter Freeth 2019-03-11 17:37:45 UTC
It's as if the window doesn't know that it's too big for the screen, and so it doesn't need to use scrollbars.
Comment 2 Xisco Faulí 2019-03-13 21:33:19 UTC
Could you please paste the info from Help - about LibreOffice ?

I have set the bug's status to 'NEEDINFO'. Please change it back to
'UNCONFIRMED' once the information has been provided
Comment 3 Peter Freeth 2019-03-13 23:14:23 UTC
That information is in my original report.

System details: Version: 6.1.4.2 Build ID: 1:6.1.4-0ubuntu0.18.10.1
Comment 4 Peter Freeth 2019-03-14 09:37:06 UTC
Created attachment 149956 [details]
The correct behaviour in Windows 6.2.0.3

Version: 6.2.0.3 (x64)
Build ID: 98c6a8a1c6c7b144ce3cc729e34964b47ce25d62
CPU threads: 4; OS: Windows 10.0; UI render: default; VCL: win; 
Locale: en-GB (en_GB); UI-Language: en-GB
Calc: threaded
Comment 5 Peter Freeth 2019-03-14 09:37:46 UTC
I have added a new screenshot showing the correct behaviour in a Windows PC.

Version: 6.2.0.3 (x64)
Build ID: 98c6a8a1c6c7b144ce3cc729e34964b47ce25d62
CPU threads: 4; OS: Windows 10.0; UI render: default; VCL: win; 
Locale: en-GB (en_GB); UI-Language: en-GB
Calc: threaded
Comment 6 Peter Freeth 2019-03-14 09:39:47 UTC
(In reply to Peter Freeth from comment #3)
> That information is in my original report.
> 
> System details: Version: 6.1.4.2 Build ID: 1:6.1.4-0ubuntu0.18.10.1

Version: 6.1.5.2
Build ID: 1:6.1.5-0ubuntu0.18.10.1
CPU threads: 4; OS: Linux 4.18; UI render: default; VCL: gtk3; 
Locale: en-GB (en_GB.UTF-8); Calc: group threaded
Comment 7 Peter Freeth 2019-03-15 18:33:29 UTC
I have now found other LO dialogues with the same problem, for example the language selection in Paragraph Style -> Font. As a result, I am unable to set the language for spell checking!
Comment 8 Xisco Faulí 2019-03-18 19:30:39 UTC
Checking the screenshot, you're using ubuntu with GTK3. LibreOffice just behaves the same way your desktop theme does.
Please check another application in Ubuntu with such a list and you will see it behaves the same way.
Closing as RESOLVED NOTOURBUG
Comment 9 Peter Freeth 2019-03-18 19:51:34 UTC
Thanks for the update. Scribus doesn't behave like this. It shows a similar font list, but has scroll arrows, and also allows mouse scrolling. LO does neither. In any case, regardless of what other applications are doing, shouldn't LO work properly?

Saying I'm using gtk3 LO seems to imply there are alternatives, is that correct?

Thanks.
Comment 10 Peter Freeth 2019-03-18 23:12:35 UTC
Also, there are 3 different font pickers in LO. In the main editing window, I can select a font manually for selected text. That font list has a scrollbar. If I edit a style, I can choose a font, that's a different dialogue again. If I edit the bullet style of a list, the font list has no scroll bar. It doesn't make any sense that LO is using different font list dialogues. While this may be a gtk3 problem, LO clearly is able to function effectively in other similar functions. The fact that this only affects the font choice for bullet lists, the language choice for spell checking etc makes it a LO problem, IMO.
Comment 11 Peter Freeth 2019-03-19 16:14:12 UTC
OK, for anyone currently searching for a solution for this problem, here is a workaround.

Using Gnome Tweaks you can try a theme which does show scroll arrows at the top and bottom of the list, which the default Yaru (Ubuntu 18.10 theme does not.

On my system, Adwaita did the job.

You can then modify the desktop file in /usr/share/applications to open the program with that theme.

For example, change this line:

Exec=libreoffice %U

To this:

Exec=env GTK_THEME=Adwaita libreoffice

I found that if I left the %U on the end, the desktop file would show an error and fail to run.

You can also try editing the gtk css file (/usr/share/themes/[themename]/gtk3.0/gtk.css) to add the following at the top:

.scrollbar scrollbar {
  -GtkScrollbar-has-backward-stepper: true;
  -GtkScrollbar-has-forward-stepper: true;
  -GtkScrollbar::stepper-size = 18
  }

Though I'm not sure the css edit made any difference to me.