Bug 49319

Summary: EDITING: Cannot change a polygon point to Smooth Transition
Product: LibreOffice Reporter: David F Smith <davidjudysmith>
Component: DrawingAssignee: Not Assigned <libreoffice-bugs>
Status: NEW --- QA Contact: QA Administrators <qa-admin>
Severity: normal    
Priority: medium CC: LibreOffice
Version: 3.5.2 release   
Hardware: All   
OS: All   
Whiteboard: BSA
i915 platform: i915 features:
Attachments: Example of a simple polygon that demonstrates the problem. I also have a screen capture movie showing the bad behavior, but it is 15 MB.
Shows creation of a polygon, then attempts to convert point to Smooth Transition
Drawing document that shows the behavior
Video shows failure to select Smooth Transition
Video shows failure to select Smooth Transition for two points of a polyline

Description David F Smith 2012-04-30 19:19:54 UTC
Created attachment 60817 [details]
Example of a simple polygon that demonstrates the problem.  I also have a screen capture movie showing the bad behavior, but it is 15 MB.

Problem description: 
I draw a polygon or a series of points, then select a point and try to change it from Corner Point to Smooth Transition using the toolbar button.  My selection does not stick: after I click Smooth Transition, the Corner Point button is reselected.  This does not always happen, but often enough to be annoying.  Sometimes I can select Symmetric Transition, then drag the control points, then select Smooth Transition, but that doesn't always work.

Steps to reproduce:
1. Use the Polygon curve tool to draw a series of points.  A zigzag often works well to show the problem.  (See attached Zigzag polygon 1.PNG.)
2. Select one of the inner points; the Corner Point button should be selected.  Click on the Smooth Transition button.  It will not (reliably) remain selected.  Verify that the point is still a Corner Point by moving one of the control points; it will move independently of the other control point. 

Current behavior: Points of a polygon cannot always be converted to Smooth Transition.

Expected behavior: Smooth Transition button works correctly on any point.

Platform : Windows 7 Prof v6.1.7601 SP1 
              
Browser: Chrome/18.0.1025.162 (irrelevant?)
Comment 1 Rainer Bielefeld Retired 2012-04-30 23:46:01 UTC
NOT Reproducible with "LibreOffice 3.5.3.2 (RC2) German UI/Locale [Build-ID: 235ab8a-3802056-4a8fed3-2d66ea8-e241b80] on German WIN7 Home Premium (64bit).

I created a sample document with a zig zag line similar to the one in reporter's screenshot and was able to create smooth transitions without problems. An additional test with a 18 corners zig zag line also did not show any problem, I modified all corners.

@David F Smith:
Thank you for your report – unfortunately important information is missing.
May be hints on <http://wiki.documentfoundation.org/BugReport> will help you to find out what information will be useful to reproduce your problem? If you believe that that  is really sophisticated please as for Help on a user mailing list
Please:
- Attach a sample document (not only screenshot) or refer to an existing 
  sample document in an other Bug with a link.
- Contribute a sample document related step by step instruction containing 
  every key press and every mouse click how to reproduce your problem 
  (due to example in Bug 43431)
– if possible contribute an instruction how to create a sample document 
  from the scratch
- add information 
  -- concerning your PC (video card, ...)
  -- concerning your OS (Version, Distribution, Language)
  -- concerning your LibO localization (UI language, Locale setting)
  –- Libo settings that might be related to your problems 
    (video hardware acceleration ...)
  -- how you launch LibO and how you opened the sample document
  -- everything else crossing your mind after you read linked texts

Even  if you can not provide all demanded information, every little new information might bring the breakthrough.
Comment 2 David F Smith 2012-05-01 13:05:53 UTC
Created attachment 60867 [details]
Shows creation of a polygon, then attempts to convert point to Smooth Transition

In the movie, I create the 5-point polygon.  Then I select the second point, a Corner Point, and click Smooth Transition repeatedly.  The Smooth Transition button does not "stick," and in fact the point is still a Corner Point, as I demonstrate by moving one of its control points.
This problem is not completely reproducible for me, either, but as you see, it does happen.

Computer: Dell Inspiron 620, x64-based desktop, Intel Core i5-2320 CPU
OS: Microsoft Windows 7 Professional, v6.1.7601 SP1
Graphics: Intel HD Graphics adapter
LibreOffice 3.5.2.2, Build ID: 281b639-6baa1d3-ef66a77-d866f25-f36d45f
installed from http://mirror.clarkson.edu/tdf/libreoffice/stable/3.5.2/win/x86/LibO_3.5.2_Win_x86_install_multi.msi

I have also previously installed LibreOffice 3.5.1 on an XP Mode Windows Virtual PC (XP v5.1.2600, SP3) on the same computer, and the behavior is exactly the same.

Thanks very much for your efforts to reproduce this.  I hope you can find something.
Comment 3 David F Smith 2012-05-01 14:09:29 UTC
Created attachment 60873 [details]
Drawing document that shows the behavior

Zigzag.odg is a drawing of a zigzag polyline.  In my copy of LibreOffice Drawing, if I select the middle point and try to change it to a Smooth Transition, it fails.  (If I select the second point from the left, it works correctly.)
Comment 4 Rainer Bielefeld Retired 2012-05-01 21:48:44 UTC
Let's distinguish 2 different (but may be related, I do not know) problems:

a) reporter sometimes fails to change a corner t a smooth transition
   This is not reproducible for me 
b) behavior of icon active indicator for several point actions is is at least 
   not easy to understand. I believe it's wrong and will do some further 
   research later
Comment 5 David F Smith 2012-05-02 07:54:22 UTC
Thanks, Rainer.  You're right that the two issues may be different, but every time the indicator button has gone back to Corner Point and I have checked it (by moving one of the control points), it has in fact been a Corner Point.
Anyway, thanks for your attempts to reproduce the problem.
Comment 6 David F Smith 2012-05-02 11:16:45 UTC
Created attachment 60918 [details]
Video shows failure to select Smooth Transition

This is a better video to demonstrate my problem, using the attached Zigzag.odg.

I select the middle point of the polyline (a corner point), then click three times on Smooth Transition.  Each time, the Corner Point button remains selected.  I drag one of the control points to show that the point is in fact still a corner point (i.e., it has control points that move independently).

I then select the fourth point of the polyline, another corner point.  I click on Smooth Transition (no success), then on Symmetric Transition (success), and I drag one of the control points to show that the point is Symmetric.  Then I click on Smooth Transition at which time the Corner Point button becomes selected, and I drag one of the control points to show that the point has become a corner again.
Comment 7 David F Smith 2012-07-13 15:44:11 UTC
I have retested on 3.5.5.3 under Windows 7 Pro, and the problem still remains for me.  The behavior is exactly as shown in my attached video.
Comment 8 Hashem Masoud 2012-09-18 20:10:30 UTC
(In reply to comment #7)
> I have retested on 3.5.5.3 under Windows 7 Pro, and the problem still remains
> for me.  The behavior is exactly as shown in my attached video.

Testing with:
Version 3.6.0.4 (Build ID: 932b512) Slackware Linux 13.37
Works for me. Please try with the latest version and reply.
Comment 9 David F Smith 2012-11-19 13:16:34 UTC
I have retested under 3.6.3.2 (Build ID: 58f22d5), still on Win 7 Pro (v6.1.7601), and the problem still remains.  I open zigzag.odg, select the polyline, select the center point, and click on Smooth Transition, and the Corner Point button remains selected.  (And the point is still, in fact, a corner.)
Comment 10 QA Administrators 2013-07-18 06:16:07 UTC
Dear Bug Submitter,

Please read the entire message in its entirety before continuing - also please respond directly to FDO when replying - do not reply via email.

This bug has been in NEEDINFO status with no change for at least 6 months. Please provide the requested information as soon as possible and mark the bug as UNCONFIRMED. Due to regular bug tracker maintenance, if the bug is still in NEEDINFO status with no change in 30 days the QA team will close the bug as INVALID due to lack of needed information.

For more information about our NEEDINFO policy please read the wiki located here: 
https://wiki.documentfoundation.org/QA/FDO/NEEDINFO

If you have already provided the requested information, please mark the bug as UNCONFIRMED so that the QA team knows that the bug is ready to be confirmed.


Thank you for helping us make LibreOffice even better for everyone!


Warm Regards,
QA Team
Comment 11 David F Smith 2013-07-18 15:27:58 UTC
Created attachment 82615 [details]
Video shows failure to select Smooth Transition for two points of a polyline
Comment 12 David F Smith 2013-07-18 15:40:17 UTC
It is not clear to me from the message exactly what info is needed.  Therefore I have retested the bug with 4.0.4.2 under Windows 7 Professional (6.1.7601 Service Pack 1) and recorded a new video of the bad behavior.
Here is the script for the video, which shows operations on Zigzag.odg (previously attached).
1. I select the polyline and then the third point.
2. I click the Smooth Transition button, but it does not remain selected.  (Corner Point is selected instead.)  I move one of the control points, but the other point does not move, showing that point 3 is still a corner point.
3. I select the fourth point and then click Smooth Transition.  The Corner Point button remains selected.  I click Smooth Transition twice more.  I move one of the control points, showing that point 4 is still a corner point.

The incorrect behavior does not happen for every point of every polyline, but the above steps for this document have been reproducible in all versions of LibreOffice for me.
Comment 13 Owen Genat 2013-11-25 13:31:05 UTC
David, I can confirm that there is strange behaviour regarding the Smooth Transition button for versions of LO going back to v3.3. The ODG you have provided in comment #3 (created in v3.5.2.2) seems to display the problem for all three corner points, which may be a factor of the draw:transform="rotate (0.988903554179987) translate (3.159cm 13.7cm)" attribute i.e. you have rotated and moved the polygon at some point. When I drew a new M shaped polygon I found the results more variable, which was disheartening. Status set to NEW. Platform set to All/All. Not sure what to do about the Version. It may need to be set back Inherited From OOo, but I would like QA to confirm this.

I first opened your ODG under Ubuntu 10.04 x86_64 running these versions:

- v3.3.0.4 OOO330m19 Build: 6
- v3.4.6.2 OOO340m1 Build: 602
- v3.5.7.2 Build ID: 3215f89-f603614-ab984f2-7348103-1225a5b
- v3.6.7.2 Build ID: e183d5b
- v4.0.6.2 Build ID: 2e2573268451a50806fcd60ae2d9fe01dd0ce24
- v4.1.3.2 Build ID: 70feb7d99726f064edab4605a8ab840c50ec57a

EVERY version displays the indicated behaviour of the Smooth Transition button not staying selected (for each of the three points). The Symmetric Transition button does not display this behaviour. I was so concerned by this result I tried the same tests again under Crunchbang 11 x86_64 Openbox + XFCE system running the last five versions listed above and v3.3.4.1 OOO330m19 Build: 401 (instead of v3.3.0.4) in case I was experiencing a desktop-related error. The results were identical. 

I then tried creating new M diagrams in each of the 12 OS + LO version combinations and while there is definitely a problem with the Smooth Transition button not staying in a selected state I could find no discernible pattern for which points worked as expected and which did not e.g., number of corners, corner angle, ordinal position in the polygon, vertical offset, etc. The only observable pattern seemed to be that once a diagram was drawn the same points would exhibit the same behaviour in all versions of LO.
Comment 14 Owen Genat 2013-11-25 13:34:08 UTC
Oh I forgot, it may be worthwhile changing the summary from "EDITING: Cannot change a polygon point to Smooth Transition" to "EDITING: Smooth Transition button does not remain selected" as this would seem a more accurate reflection of the issue. The actual polygon point does change to a Smooth Transition, it is just that the change / selection is not reflected in the toolbar.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.