Comment 0 for bug 169016

Revision history for this message
Colin1000 (colin1000) wrote : Font size menu not inset & typing font size causes error

[This may be related to Bug #1666460]

Build:
Win32 Inkscape0710251937

Actual Behaviour

The area of the font size select menu in which the size of the font is
entered is not inset. The "down arrow" selector on the right is, however,
so it looks like the size of the font-size select list is bigger than the
area allocated to the tool bar, so the edges are drawn off the canvas.
Since this is a terrible description, I've attached an image showing what
I'm trying to describe.

Also there appears to be a bug when typing into this font-size area, which
occurs only if text is selected.

Steps to Reproduce:

1. Select the Text button and enter some text.
2. Select all of the text with Ctrl-A
3. Focus on the font-size combo-box and select the
   current font size. For E.g. "6"
4. Enter the new font-size, for E.g. "12"
5. The number displayed is now 126. E.g. the new
   font-size with the existing font-size appended.

It seems that the number defaults to the first font size that the font was
drawn with. E.g:

1. If you select the font tool and then set the font
   size to "12", then type some text.
2. Select all of the text with Ctrl-A
3. Change the font size to "6" via the menu. The font
   changes size, as expected.
4. Click away. Select all of the text again.
5. Focus on the font-size combo-box and select all
   of the text for the current font size ("6" here)
6. Change the font size to "12". On typing the "1" the
   font size box will not over-write the number "6",
   but will instead display the number "112" and the
   font will grow very large. The cursor is placed
   between the 1's - E.g. "1|12".

Note that the previous font size ("6" here) is ignored, and the original
font size ("12") is found somewhere. The placement of the cursor gives the
impression that when the key press is sent, instead of over writing the
text with the entered number, it is taking the entered the number and then
appending the original font size ("12").

Weirdness :)