Text on path - text disappear when moving path to hidden layer

Bug #1057989 reported by pRototype
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Triaged
Medium
Unassigned

Bug Description

OS: WIndows 7, Norwegian
Inkscape 0.48.3.1 r9886

Steps to reproduce the bug:
* Make two layers. Hide the lowest layer.
* On the lvisible layer: Insert a text and a path, and put text on path.
* Select the path and move the path to the hidden layer.

Now, I experience that the text dissappears as well. Or that the text suddenly moves outside the canvas.

I'm not able to reproduce this with latest test version, Inkscape 0.48+devel r11698 (Windows XP, sp3).

Revision history for this message
jazzynico (jazzynico) wrote :

Not reproduced on Windows XP, Inkscape 0.48.3.1.

Does it occur with specific files only or also with a new document?

tags: added: layer text
Changed in inkscape:
importance: Undecided → Medium
tags: added: layers
removed: layer
Revision history for this message
pRototype (regeir) wrote :

Hi. Sorry it takes a while to answer, the W7 computer is at work and I can only do tests on Inkscape while I've not other tasks that need attention.

I tried to reproduce on a new file (file not saved yet) and I couldn't reproduce the behaviour where text disappear.

I'll see if I can find the file during this week. I know I have it somewhere.

Revision history for this message
Kris (kris-degussem) wrote :

Hi pRototype, do you still have this issue?

Changed in inkscape:
status: New → Incomplete
Revision history for this message
pRototype (regeir) wrote :

Hi.

Tested with:
Inkscape 0.48+devel r12162
on Windows XP.

I cannot reproduce the situation where the text disapear or moves out of position.

However, I just discovered something that looks like being either some rendering mess ups, or a handle. I don't expect a handle showing up far from the text. The odd little thing on screen copy is where the mouse pointer shows.
I get it there simply by following the steps to reproduce and then select the text. That's when the "handle" appear. It's only visible when the text is selected.

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

(earlier version of comment removed, due to errors)

> Steps to reproduce the bug:
> * Make two layers. Hide the lowest layer.
> * On the lvisible layer: Insert a text and a path, and put text on path.
> * Select the path and move the path to the hidden layer.
>
> Now, I experience that the text dissappears as well. Or that the text
> suddenly moves outside the canvas.

Not sure what might have happened if the text disappeared completely (aka hidden too?) and is not simply displaced out-of-sight of the current viewport. If the text is displaced when the path is moved to the new layer, this is likely another manifestation of known issues with transforms on parent groups (the two layers have different 'transform' attributes).

Steps to reproduce:
1) open new document
2) draw path, create text, put it on path
3) change document orientation to landscape
4) add new layer
5) select path and move to new layer
-> text-put-on-path is off-set from original position

Workaround:
Before moving the path (which is referenced by a 'text-put-on-path' object) to the new layer, copy&paste the transform attribute from original layer to the one added after changing the page size/orientation (via XML Editor).

Underlying issue likely related to bug #684324, bug #168286, bug #167039 (compensation of parent transforms affecting the path the text is put onto).

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

> I get it there simply by following the steps to reproduce and
> then select the text. That's when the "handle" appear. It's
> only visible when the text is selected.

Do you use a custom template file, which already starts any new document with a base 'Layer 1' which has a 'transform' attribute? Please attach sample SVG files, always.

The offset of the text anchor of text-put-on-path reflects the transformation applied to the parent group (or layer).

Steps to reproduce:
1) launch inkscape with default settings
   (make sure it opens with a new empty document based on the _original_ default template)
2) draw path, create text, put text on path
   (verify that text anchor now is positioned at the SVG origin, aka top-left corner of the page)
3) change the page orientation to 'Landscape'
   (this adds a vertical transformation (translate) to the current layer group 'Layer 1')
4) select the text-put-on-path
--> the text anchor is geometrically still at the same position (offset relative to the position of the text-put-on-path), but no longer coincides with the upper left corner of the page (since the page size has been changed, keeping the bottom-left corner fixed).

Revision history for this message
pRototype (regeir) wrote :

Update. I just tested with
Inkscape 0.48+devel r12162
Windows XP

and I manage to reproduce simply by changing the page size between every operation I otherwise do when put text on path and then moves the path to a lower layer.
That is - following Suv's list of steps to reproduce.

su_v (suv-lp)
Changed in inkscape:
status: Incomplete → Triaged
tags: added: transformations
Revision history for this message
Beluga (buovjaga) wrote :

Repro the movement of the text after moving path to hidden layer below.
Also the anchor position issue.

Arch Linux 64-bit, KDE Plasma 5
Inkscape 0.92pre1 15073 (GTK3)

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.