Object clipped by text or cloned text missing selection cue
Bug #1339305 reported by
Alvin Penner
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
Medium
|
Alvin Penner |
Bug Description
- this bug is similar, but not the same, as Bug 1322940
- Windows XP, Inkscape rev 13446
- draw a rectangle
- draw some text, normal, not flowed
- save as clipwithtext.svg, attached here
- perform clip->Set
- note that the selection box and arrows disappear
- get the selection box back by hitting the down arrow to force a refresh
- same behavior is observed if the text is cloned
- not reproduced on Inkscape 0.48.5
Related branches
tags: | added: clipping clones regression text |
Changed in inkscape: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
appears to be related to the following problem:
in the file Layout- TNG-Output. cpp, in the routine Layout::bounds(), there are cases where the routine is called with the function _glyphs.size() = 0. This leads to a failure of the bbox calculation, which leads to this bug. The same problem actually occurs whenever fresh text is typed into a new textbox, except that in this case the results are not visibly wrong. Subsequent calls to this routine increment the size value to 1 or more and all is well. But for the case of a clip this refresh apparently occurs too late.
In any event, I cannot figure out who is the original caller of this routine and why it is not properly initiallized, so I am going to look for something easier...