[Libreoffice-bugs] [Bug 51023] EDITING: Drag and drop Slide sorting broken on Mac OS X

2012-06-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=51023

Roman Eisele b...@eikota.de changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever Confirmed|0   |1

--- Comment #6 from Roman Eisele b...@eikota.de 2012-06-21 03:37:14 PDT ---
REPRODUCIBLE with
* LibreOffice 3.5.4.2 (Build-ID: 165a79a-7059095-e13bb37-fef39a4-9503d18)
* LibreOffice/LOdev 3.6.0beta1 (Build ID: 1f1cdd8)
both with German langpack installed, both on MacOS X 10.6.8 German UI (Intel).

Taking the original description together with comment #3 and comment #5, I can
confirm that if I create a simple presentation with 4 slides (I will attach my
sample file), sorting slides via drag and drop both
-- in the left panel labelled Slides
   or
-- in the slide sorter
does not work correctly.

The circumstances are exactly the same in both cases:
-- if I try to move the *1st* slide to any other position,
   most times nothing happens;
-- if I try to move *any* *other* slide to another position,
   either nothing happens
   or the moved slide is inserted before all other slides
   (becomes slide #1), regardless where I have dragged the slide to.
I say most times, because the behaviour seems not to be 100% deterministic
(there must be some variable I don't understand).

And sometimes (cf. comment #2), if I try to drag around slides for a while,
-- LibreOffice crashes (I will attach the log file);
   this crash seems to happen a bit more often with beta 1 than with 3.5.4;
   but the crash log indicates always exactly the same type of crash:
   the 1st line of the trace for thread 0 is always
 0 libsdlo.dylib 0x4325a126
   sd::slidesorter::model::PageDescriptor::GetPage() const + 6

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 51023] EDITING: Drag and drop Slide sorting broken on Mac OS X

2012-06-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=51023

--- Comment #7 from Roman Eisele b...@eikota.de 2012-06-21 03:37:57 PDT ---
Created attachment 63289
  -- https://bugs.freedesktop.org/attachment.cgi?id=63289
Test file for bug 51023

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 51023] EDITING: Drag and drop Slide sorting broken on Mac OS X

2012-06-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=51023

--- Comment #8 from Roman Eisele b...@eikota.de 2012-06-21 03:38:36 UTC ---
Created attachment 63290
  -- https://bugs.freedesktop.org/attachment.cgi?id=63290
Log file for crash which occured after some slide drag and drop

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 51023] EDITING: Drag and drop Slide sorting broken on Mac OS X

2012-06-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=51023

Roman Eisele b...@eikota.de changed:

   What|Removed |Added

 CC||b...@eikota.de

--- Comment #9 from Roman Eisele b...@eikota.de 2012-06-21 03:39:48 PDT ---
Can someone please test if this bug is reproducible
-- on Windows
-- on some Linux variant? Thank you very much in advance!

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 51023] EDITING: Drag and drop Slide sorting broken on Mac OS X

2012-06-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=51023

--- Comment #10 from Roman Eisele b...@eikota.de 2012-06-21 07:03:47 PDT ---
A more complete review with LibreOffice 3.5.4.2.

Given four slides numbered 1, 2, 3, 4, what allows 4 x 3 = 12 primary drag
actions, I get the following results when dragging slides in the Slide Sorter
view and/or in the Slides section of the main window (the results are
identical):

1a) Dragging the 1st slide between slide 2 and 3: nothing happens
(still 1, 2, 3, 4)
1b) Dragging the 1st slide between slide 3 and 4: nothing happens
(still 1, 2, 3, 4)
1d) Dragging the 1st slide after the last slide: works
(result: 2, 3, 4, 1)
2a) Dragging the 2nd slide before the 1st slide: works
(result 2, 1, 3, 4)
2b) Dragging the 2nd slide between slide 3 and 4: 2 is inserted before 1
(result 2, 1, 3, 4)
2c) Dragging the 2nd slide after the last slide: works
(result 1, 3, 4, 2)
3a) Dragging the 3rd slide before the 1st slide: works
(result 3, 1, 2, 4)
3b) Dragging the 3rd slide between slide 1 and 2: 3 is inserted before 1
(result 3, 1, 2, 4)
3c) Dragging the 3rd slide after the last slide: works
(result 1, 2, 4, 3)
4a) Dragging the last slide before the 1st one: works
(result 4, 1, 2, 3)
4b) Dragging the last slide between slide 1 and 2: 4 is inserted before 1
(result 4, 1, 2, 3)
4c) Dragging the last slide between slide 2 and 3: 4 is inserted before 1
(result 4, 1, 2, 3)

Analysis:
A) moving a slide via drag and drop before the 1st slide or after the last
slide works
B) moving a slide via drag and drop to any other position does NOT work, but
inserts the moved slide before the 1st slide. In the special case when the
moved slide is already the 1st slide itself, this means that nothing happens at
all.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 51023] EDITING: Drag and drop Slide sorting broken on Mac OS X

2012-06-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=51023

--- Comment #11 from Roman Eisele b...@eikota.de 2012-06-21 07:14:31 PDT ---
Created attachment 63300
  -- https://bugs.freedesktop.org/attachment.cgi?id=63300
Corrupted sample file, corrupted via a simple sequence of drag-and-drop actions

But the analysis given in my previous comment holds true only when I do single
drag-and-drop actions, i.e. open my sample document (attachment 63289) before
each step again and try only one step at once.

If I do several drag-and-drop actions one after another, I observe
a) crashes and 
b) data corruption.

I have not found yet a simple way to reproduce the crash with 100% reliability,
but here is a simple sequence of drag-and-drop actions which leads to data
corruption:
1) Open my sample file (attachment 63289) with LibreOffice 3.5.4.2 or 3.6beta 1
   and switch to the Slide Sorter.
   The order of the slides is first 1, 2, 3, 4.
2) Drag slide 2 after slide 3.
   The order of the slides is now   2, 1, 3, 4 (wrong!).
3) Drag slide 1 (the 2nd one) after slide 3 (the third one).
   The order of the slides is again 1, 2, 3, 4 (wrong!)
4) Drag slide 2 after slide 3.
   The order of the slides is now   2, 2, 3, 4: corruption!
Now we have two slides which look identical at the beginning of the slide show.
The old slide 1 is gone.

And this is a serious and stable corruption, not only a drawing error: the
double slide 2 is still present when I save, close and open the document
again, and the old slide 1 is still missing.

Attached you find such a corrupted file which is the result of applying the
given four steps to my sample file.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 51023] EDITING: Drag-and-drop slide sorting broken on Mac OS X, leading to data corruption and crashes

2012-06-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=51023

Roman Eisele b...@eikota.de changed:

   What|Removed |Added

Summary|EDITING: Drag and drop  |EDITING: Drag-and-drop
   |Slide sorting broken on Mac |slide sorting broken on Mac
   |OS X|OS X, leading to data
   ||corruption and crashes
   Keywords||regression

--- Comment #12 from Roman Eisele b...@eikota.de 2012-06-21 07:36:32 PDT ---
Some more hints and observations:

(a) There are some bug reports which could be related to this issue, especially
for Linux, but I can't find any exact duplicates for now:
* bug 49543 just says that sorting slides via drag-and-drop does not work at
all
* bug 46801 is the same (drag-and-drop does not work at all)
* bug 48101 speaks about drag  drop of slides from another document
* bug 42289 seems to speak about how many slides are visible in the slide
sorter
  (if I understand it correctly).

(b) Updated summary according to previous comments.

(c) This bug is NOT REPRODUCIBLE with LibreOffice 3.4.6 (OOO340m1, Build:602),
German langpack installed, on MacOS X 10.6.8 German (Intel).

- The bug is new in 3.5.x, therefore added keyword regression.

(d) This bug is NOT REPRODUCIBLE with LibreOffice 3.4.6, German langpack
installed, on WinXP, therefore it seems to be a MacOS X only issue for now.
(But someone else should still test Linux).

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 51023] EDITING: Drag-and-drop slide sorting broken on Mac OS X, leading to data corruption and crashes

2012-06-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=51023

Roman Eisele b...@eikota.de changed:

   What|Removed |Added

 CC||r...@novell.com,
   ||tbehr...@suse.com

--- Comment #13 from Roman Eisele b...@eikota.de 2012-06-21 07:42:58 PDT ---
@Thorsten Behrens,
@Radek Doulik:

I insert your addresses into the CC list of this bug report because you are our
Impress experts (and MacOS X expert, too, in the case of Thorsten). This bug
seems to be limited to MacOS X for now, but it is nevertheless very important
and urgent -- it makes sorting slides in Impress completely impossible, it
leads to data corruption and even to crashes. Additionally, it is an regression
introduced in LibreOffice 3.5.x.

I have done some extensive testing (see especially comment #10 and comment #11)
to give you an exact description about when slide sorting works and when it
doesn't, and what exactly happens when it doesn't work. I hope this helps a
bit.

Now I ask you: please take a look at this issue. I know you have got much other
things to do, but this is definitely a really critical bug, and should be
placed high on your Impress priorities list.

Thank you very much in advance!

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 51023] EDITING: Drag-and-drop slide sorting broken on Mac OS X, leading to data corruption and crashes

2012-06-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=51023

Roman Eisele b...@eikota.de changed:

   What|Removed |Added

 Blocks||37361

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 51023] EDITING: Drag-and-drop slide sorting broken on Mac OS X, leading to data corruption and crashes

2012-06-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=51023

--- Comment #14 from Michael Meeks michael.me...@novell.com 2012-06-21 
09:33:11 PDT ---
The real question is: when does the slide get corrupted; the trace is common
as:

Thread 0 Crashed:  Dispatch queue: com.apple.main-thread
0 sd::slidesorter::model::PageDescriptor::GetPage() const + 6
1
sd::slidesorter::controller::CurrentSlideManager::SetCurrentSlideAtXController(boost::shared_ptrsd::slidesorter::model::PageDescriptor
const) + 213
2 sd::slidesorter::controller::CurrentSlideManager::SwitchPageCallback(void*) +
63
3 Timer::Timeout() + 28
... from the mainloop ... 

I wonder if Linux versions have a similar trace. Most likely we need to run
this under valgrind / drmemory to go back in time to when the corruption
happened.

Also - a build with debugging symbols is always going to produce a better
trace; I assume we have these for Mac, any chance you could try one if it's
easy to reproduce ?

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 51023] EDITING: Drag-and-drop slide sorting broken on Mac OS X, leading to data corruption and crashes

2012-06-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=51023

--- Comment #15 from Michael Meeks michael.me...@novell.com 2012-06-21 
09:34:24 PDT ---
The comment in the relevant method doesn't fill one with confidence either:

IMPL_LINK_NOARG(CurrentSlideManager, SwitchPageCallback)
{
if (mpCurrentSlide)
{
// Set current page.  At the moment we have to do this in two
// different ways.  The UNO way is the preferable one but, alas,
// it does not work always correctly (after some kinds of model
// changes).  Therefore, we call DrawViewShell::SwitchPage(),
// too.
ViewShell* pViewShell = mrSlideSorter.GetViewShell();
if (pViewShell==NULL || ! pViewShell-IsMainViewShell())
SetCurrentSlideAtViewShellBase(mpCurrentSlide);
SetCurrentSlideAtXController(mpCurrentSlide);
}

return 1;
}

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 51023] EDITING: Drag-and-drop slide sorting broken on Mac OS X, leading to data corruption and crashes

2012-06-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=51023

--- Comment #16 from Roman Eisele b...@eikota.de 2012-06-21 10:29:06 PDT ---
(In reply to comment #14)
 Also - a build with debugging symbols is always going to produce a better
 trace; I assume we have these for Mac, any chance you could try one if it's
 easy to reproduce ?

I will be happy to do so -- but where can I get a Mac build with debugging
symbols?

@Thorsten:
Can you explain me where to get a Mac build with debugging symbols?

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 51023] EDITING: Drag and drop Slide sorting broken on Mac OS X

2012-06-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=51023

--- Comment #5 from Denny lum...@gmail.com 2012-06-19 05:59:57 PDT ---
(In reply to comment #3)
 I do not reproduce exactly this bug on MacOS X 10.7.3 with LibO 3.6beta1.
 But,
 when i try to change a slide order by drag and drop, the behaviour isn't the
 expected one.
 
 1. Create 4 slides presentation
 2. Press left mouse button on the first slide in left panel Slides
 3. Move mouse to the down between slides 3 and 4
 4. Release mouse button
 
 Current result : 
 Nothing happen, the slide hasn't move.
 Graphically the ghost slide and animation to demonstrate where the slide will
 ordered doesn't appear.
 
 Expected result :
 Slide moved between slides 3 and 4
 Animation show the futur state.
 
 
 I've made a screen cast to see the behaviour.

Fabien,
If understood that right, this is what is described at the beginning of this
bug.
ANY slide moved to a different position ends up being the first slide. So if
you move the first slide, it will end up being the first slide.
Please confirm, that this is also happening with other slides than the first
one.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 51023] EDITING: Drag and drop Slide sorting broken on Mac OS X

2012-06-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=51023

--- Comment #3 from fabien.mic...@hespul.org 2012-06-18 05:15:07 PDT ---
I do not reproduce exactly this bug on MacOS X 10.7.3 with LibO 3.6beta1.
But,
when i try to change a slide order by drag and drop, the behaviour isn't the
expected one.

1. Create 4 slides presentation
2. Press left mouse button on the first slide in left panel Slides
3. Move mouse to the down between slides 3 and 4
4. Release mouse button

Current result : 
Nothing happen, the slide hasn't move.
Graphically the ghost slide and animation to demonstrate where the slide will
ordered doesn't appear.

Expected result :
Slide moved between slides 3 and 4
Animation show the futur state.


I've made a screen cast to see the behaviour.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 51023] EDITING: Drag and drop Slide sorting broken on Mac OS X

2012-06-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=51023

--- Comment #4 from fabien.mic...@hespul.org 2012-06-18 05:15:53 PDT ---
Created attachment 63176
  -- https://bugs.freedesktop.org/attachment.cgi?id=63176
Bug move slide in Slides panel

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 51023] EDITING: Drag and drop Slide sorting broken on Mac OS X

2012-06-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=51023

--- Comment #1 from Suzy Deffeyes suzy...@gmail.com 2012-06-15 12:47:38 PDT 
---
I also observe this behavior on Mac OSX 10.6.8

LibreOffice 3.5.4.2 
Build ID: 165a79a-7059095-e13bb37-fef39a4-9503d18

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 51023] EDITING: Drag and drop Slide sorting broken on Mac OS X

2012-06-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=51023

--- Comment #2 from Suzy Deffeyes suzy...@gmail.com 2012-06-15 13:20:06 PDT 
---
Created attachment 63084
  -- https://bugs.freedesktop.org/attachment.cgi?id=63084
Crash report when using slide panel to move a slide

I think this crash might also be related, I've been using this version of
LibreOffice for two days, and have crashed in the same manner (when trying to
move pages around) at least three times.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 51023] EDITING: Drag and drop Slide sorting broken on Mac OS X

2012-06-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=51023

Denny lum...@gmail.com changed:

   What|Removed |Added

 OS/Version|All |Mac OS X (All)
   Severity|normal  |critical
   Priority|medium  |high

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs