vertical scrollbar is missing the first time the font list dropdown is clicked

Bug #1482926 reported by Antoine Amarilli
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
New
Undecided
Unassigned

Bug Description

On my system, when starting Inkscape, selecting the text tool, and clicking on the arrow button on the dropdown list of font families, the font list is clipped to a vertical height which is less than the available space, and it is missing the vertical scrollbar. (The horizontal scrollbar, however, displays fine, and wiggles a bit initially as the list gets populated). It is nevertheless possible to scroll the list vertically with the arrow keys (not the mouse wheel).

When clicking away to close the dropdown and clicking again on the button, the dropdown list displays fine.

Initial investigation suggests that the problem may be occurring because the dropdown list displays while the list itself is being populated and cells rendered by calls to src/libnrtype/font-lister.cpp:font_lister_cell_data_funct. In particular I am suspicious about the call to gtk_rc_parse_string in src/widgets/text-toolbar.cpp:sp_text_toolbox_prep that occurs before the calls to font_lister_cell_data_funct have completed. (Artificially slowing down the latter causes the incomplete list to be clipped to a smaller height.) Yet we couldn't find an easy fix.

Any ideas?

=====
Debian stretch AMD64, i3 window manager
Inkscape revision 14284 compiled from source

Tags: fonts ui
Revision history for this message
su_v (suv-lp) wrote :

Please add information about OS/platform and Inkscape version to the bug description, thank you.

--
Please always include information about OS/platform and Inkscape version in the bug description when filing a new report.

Changed in inkscape:
status: New → Incomplete
tags: added: fonts ui
Revision history for this message
su_v (suv-lp) wrote :

AFAICT reported earlier as:
* Bug #986936 “font selection box only scrollable horizontally and not vertically on first use”
  https://bugs.launchpad.net/inkscape/+bug/986936

Revision history for this message
Antoine Amarilli (a3nm) wrote :

This is on Debian stretch AMD64, with Inkscape revision 14284 compiled from source. I use the i3 window manager, but I could reproduce the same behavior with openbox.

Revision history for this message
Antoine Amarilli (a3nm) wrote :

Ah, I hadn't seen Bug #986936, and indeed it is the same issue. Sorry about that.

Revision history for this message
su_v (suv-lp) wrote :

Linking as duplicate to bug #986936.

description: updated
Changed in inkscape:
status: Incomplete → New
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.