Text Tool attributes messed up.

Bug #407893 reported by Tavmjong Bah
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
Undecided
Unassigned
Nominated for 0.47.x by Tavmjong Bah

Bug Description

After changing the font size (before starting a new text item), the text style is changed to Fill:None and Stroke:Black (from Fill:Black and Stroke:None). The Inkscape Preferences dialog shows that text should be using the tool's own style which for both fill and stroke are "Unset". After changing the style back to Fill:Black and Stroke:None and repeating the experiment, the style again changes to Fill:None and Stroke:Black with change in font size.

The last font used is also forgotten, resetting to Bitstream Vera Sans.

Tested on Fedora 9 and 11 with latest SVN (r21949). Bitstream Vera Sans is installed on Fedora 9 but not Fedora 11.

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

Confirmed with all recent SVN snaphot builds since r21674 on OS X 10.5.7 (see the thread on the inkscape-devel list <http://thread.gmane.org/gmane.comp.graphics.inkscape.devel/30455/focus=30590> and bug #390162, comment 7)

Changed in inkscape:
status: New → Confirmed
Revision history for this message
bbyak (buliabyak) wrote :

fixed in 22080, please test

Changed in inkscape:
status: Confirmed → Fix Released
Revision history for this message
su_v (suv-lp) wrote :

tested with Inkscape 0.46+devel r22086 on OS X 10.5.8, new preferences.xml

1) preferences set to 'This tool's own style'
- if unchanged no longer reverts to fill unset and stroke black 1 on font/size change
- if 'take from selection' is used (e.g. from text with fill color red, no stroke), adds stroke black 1 anyway to tool's style
- always resets font family to 'Sans', font size to 12

2) preference set to 'Last used style'
- works as expected except:
- inconsistency when changing font/size in tool controls bar: before entering text i.e.
    - select text tool, change font/size
    - write text, click on empty space on canvas, change font/size
  a) change font name : ignored
  b) change font size: shows immediately with current (i.e new) text object

Revision history for this message
bbyak (buliabyak) wrote : Re: [Bug 407893] Re: Text Tool attributes messed up.

On Fri, Aug 14, 2009 at 4:58 AM, ~suv<email address hidden> wrote:
> tested with Inkscape 0.46+devel r22086 on OS X 10.5.8, new
> preferences.xml
>
> 1) preferences set to 'This tool's own style'
> - if unchanged no longer reverts to fill unset and stroke black 1 on font/size change
> - if 'take from selection' is used (e.g. from text with fill color red, no stroke), adds stroke black 1 anyway to tool's style

does not take stroke from non-stroke text for me

> - always resets font family to 'Sans', font size to 12

fixed in 22112, please test

> 2) preference set to 'Last used style'
> - works as expected except:
> - inconsistency when changing font/size in tool controls bar: before entering text i.e.
>    - select text tool, change font/size
>    - write text, click on empty space on canvas, change font/size
>  a) change font name : ignored

not ignored for me; to rephrase: when i just clicked and there's only
a text cursor on canvas, both font size and family can be changed, and
will be reflected when you type text

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

Inkscape 0.46+devel r22115 on OS X 10.5.8

1) preference set to 'This tool's own style'

- take from selection
fixed, no longer black stroke added

- always resets font family to 'Sans', font size to 12
inconsistent, depending on selected font, might be pango related bug with some font types in the OS X (system) font library (.dfont and other formats), workaround: set new default font in 'Text and Font…' dialog.

2) preference set to 'Last used style'

- inconsistency when changing font/size in tool controls bar
I think my issue is that a click on the empty canvas reverts the selected font family in the controls bar to the current default font which is not the same as the last used font. As soon as I type text, the selected font family switches back to the last used font family. This is confusing because you can't see the name of the current font before actually typing text.

su_v (suv-lp)
tags: added: ui ui-preferences
removed: style
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.