https://bugs.freedesktop.org/show_bug.cgi?id=64612
Qubit <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1 --- Comment #3 from Qubit <[email protected]> --- TESTING on Ubuntu 12.04.3 + LO 4.2.0.4 (In reply to comment #0) > > STEPS TO REPRODUCE: > 1. Open a new Draw document > 2. Create a 2D Rectangle (click the rectangle shape icon, then select a > plain square-edged rectangle from the shapes drop-down; then place a > rectangle on the drawing). > 3. Add some text to the rectangle (select the rect and then type) > 4. Modify->Convert->To Polygon > 5. Try Edit Points on the polygon - no editing icons are enabled Confirmed > 6. Try to edit the text (you can't get a text-selection cursor) Confirmed > EXPECTED BEHAVIOR: Converting a 2D object with text to a Polygon would > convert the graphic to a polygon and then insert the text, so the result > would be the same as if the polygon had originally be created as such and > the text added to it. Sounds reasonable to me. I created a draw document per the rules above and saved it when the element was a rectangle, then saved it again after the modification to a polygon. I then create a new document (with a similar rectangular area and text), just using the polygon tool. The content.xml files for the rectangle and the (directly-created) polygon are VERY similar. It appears that when the object is converted from a rect to a poly, 1) A bunch of text styles are stripped from the document, e.g. <text:list-style style:name="L1"> 2) The rect is re-created as a polygon not with a single <draw:polygon ...> element (as is used in the case in which a rectangle is created directly with the polygon tool), but with 7 different <draw:polygon...> and 5 <draw:path...> elements nested inside a single <draw:g>. It's not clear to me why this particular transformation route is used. Perhaps this example is just a very simple base-case? In any event, if this is not actually a bug, it is still a very reasonable enhancement request. -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ Libreoffice-bugs mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
