Bug 74236 - EDITING: Pages changes order (with multiple pages drawing) when swapping between LO and other applications
Summary: EDITING: Pages changes order (with multiple pages drawing) when swapping betw...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
4.1.4.2 release
Hardware: Other macOS (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: BSA
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-30 17:09 UTC by Pierre-Alain Dorange
Modified: 2017-07-23 22:30 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
just a sample multipage ODG (8.97 KB, application/vnd.oasis.opendocument.graphics)
2014-01-30 17:09 UTC, Pierre-Alain Dorange
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pierre-Alain Dorange 2014-01-30 17:09:54 UTC
Created attachment 93069 [details]
just a sample multipage ODG

Problem description: 
Often with using multi-pages drawing documents (i used a lot) pages moved from a position to another.
I'm not sure the step to reproduce all case, but it seems i found one way to do it on my Mac.

Steps to reproduce:
1. open the sample.odg (or any multipage drawing)
2. reduce the windows, so you can see your window and the desktop
3. select a page in the right area ("Pages" area) : ie. page 5
4. click on the finder desktop (LibreOffice is not the front app)
5. click again in LibreOffice "Pages" area but on another page ie.3
6. LibreOffice became again the front app
7. The page 5 has moved after the page 3
8. use Undo command (Command+Z) the page 5 is now dupplicate (still after page 3 and also back at 5 position)

Current behavior:
Some click command, move pages

Expected behavior:
Do not move pages unless i do a real drag and drop
              
Operating System: Mac OS X
Version: 4.1.4.2 release
Comment 1 Owen Genat (retired) 2014-07-22 09:34:34 UTC
(In reply to comment #0)
> 3. select a page in the right area ("Pages" area) : ie. page 5
> 4. click on the finder desktop (LibreOffice is not the front app)
> 5. click again in LibreOffice "Pages" area but on another page ie.3
> 6. LibreOffice became again the front app
> 7. The page 5 has moved after the page 3

Unable to reproduce under MacOS 10.6.8 using v4.3.0.3 (x86). No amount of swapping between LO and other applications produces the indicated effect. Pierre-Alain please try a newer release and report if the problem persists.

Status set to NEEDINFO. Please change the status back to UNCONFIRMED once the request information is provided. Thanks. Summary edited for clarity.
Comment 2 Pierre-Alain Dorange 2014-07-22 10:41:13 UTC
I reproduce the problem each time (using LO 4.1.62) i do not try lastest dev version of LO.
Perhaps my explanation to reproduce is not accurate enough.

The condition :
The sample open, select a page in the page drawer (ie page 5)
have LO window reduce (not fullscreen) so you can see LO and finder window

Reproduce :
Switch to another app (finder)
Switch back to LO but by clicking in the page drawer on another page preview (than the one selected before, ie page 3)

Bug :
The previous selected page was duplicate where you click (adding a page 5 before page 3)
Comment 3 Owen Genat (retired) 2014-07-22 13:16:11 UTC
(In reply to comment #2)
> Switch back to LO but by clicking in the page drawer on another page preview
> (than the one selected before, ie page 3)

Yes, I tried that, but it appears to work OK under the version indicated. We may have to wait until you upgrade to a more recent version to test if it is fixed (hopefully it is). Thanks for clarifying this point anyway.
Comment 4 Pierre-Alain Dorange 2014-07-22 16:21:14 UTC
(In reply to comment #3)
> (In reply to comment #2)
> > Switch back to LO but by clicking in the page drawer on another page preview
> > (than the one selected before, ie page 3)
> 
> Yes, I tried that, but it appears to work OK under the version indicated. We
> may have to wait until you upgrade to a more recent version to test if it is
> fixed (hopefully it is). Thanks for clarifying this point anyway.

Very strange, i use a lot Draw Module and i've identify this bug a long time ago (during version 3.x i thought), but just figure out how to reproduce it recently.

I just download LO 4.2.5.2 (last stable)
- LO 4.2.5.2 (MacOS X 10.6.8) : 
  the bug is still present (the same protocol) 
  but i have to done it twice to get the bug (not each time)

I also try 
- LibreOffice 4.1.2 on windows 7 : no problems
- old OpenOffice 3.4.1 on MaxOS X 10.4 : same bug but not so often
Comment 5 Alex Thurgood 2014-10-07 08:48:37 UTC
This is similar to what happens in this bug :

https://bugs.freedesktop.org/show_bug.cgi?id=73709

where hyperlinks get moved inappropriately.
Comment 6 Alex Thurgood 2014-10-07 09:01:00 UTC
Version: 4.3.2.2
Build ID: edfb5295ba211bd31ad47d0bad0118690f76407d

reproducible, confirming

How to reproduce :

1) Open terminal

2) Separately open test document in LO Draw, with a smaller than fullsize screen, so that terminal and LO windows overlap.

3) Click on page 1 of ODG in page selector

4) Now click on terminal window

5) Now click on page 5 of ODG directly in page selector

6) Page 5 gets replaced by Page 1



What should happen : page 5 should be displayed and not replaced by previously selected page
Comment 7 QA Administrators 2015-10-14 19:56:11 UTC Comment hidden (obsolete)
Comment 8 QA Administrators 2016-11-08 11:02:40 UTC Comment hidden (obsolete)
Comment 9 Pierre-Alain Dorange 2017-07-21 10:45:19 UTC
Testing the sample.odg with LO 5.3.4.2 (macOS Sierra) : the problem is no more reproductible.
It seems OK.