Bug 37484 - UI - On any animation change, list is reloaded and current position in list is lost.
Summary: UI - On any animation change, list is reloaded and current position in list i...
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
3.4.0 RC1
Hardware: All All
: medium normal
Assignee: Luke
URL:
Whiteboard:
Keywords:
: 41132 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-05-22 20:31 UTC by Luke
Modified: 2011-09-24 13:55 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Sample document with long animation list in order to observe behaviour. (11.19 KB, application/vnd.oasis.opendocument.presentation)
2011-05-24 16:53 UTC, Luke
Details
Annotated walkthrough of the problem (153.06 KB, image/png)
2011-05-24 16:54 UTC, Luke
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Luke 2011-05-22 20:31:57 UTC
Whenever you change the properties of a custom animation, the list of animations is refreshed and the first entry is selected. Thus you lose your position in the list. If you were editing an item near the bottom of the list, you have to scroll all the way down and find the item again in order to continue editing.

Solution: update the list dynamically so that the selection focus stays on the currently selected item.
Comment 1 Rainer Bielefeld Retired 2011-05-22 22:12:37 UTC
NOT Reproducible with "LibreOffice 3.4.0RC1  – WIN7  Home Premium  (64bit) German UI [OOO340m1 (Build:11)]", but may be I did not understand the problem?

I checked a presentation slide with various custom animation elements, took one in the middle of the list and modified effect from "fde in" to "zoom". I can confirm that the list scrolled up afterwards so that the first entry became visible, but selection remained at the modified animation.

@Luke:
May I ask you to read  hints on <http://wiki.documentfoundation.org/BugReport> carefully?
Then please:
- Attach a sample document 
- Attach screenshots with comments (you can add information using LibO DRAW
  and then attach your screenshot with comments as PDF) if necessary
- Contribute a step by step instruction containing every key press and every 
  mouse click how to reproduce your problem using your sample document
- add information 
  -- what exactly is unexpected
  -- and why do you believe it's unexpected
  -- concerning your PC (especially: video card)
  -- concerning your OS
  -- concerning your LibO version and localization (UI language)
  –- Libo settings that might be related to your problems 
    (video hardware acceleration ...)
  -- how you launch LibO
  -- everything else crossing your mind after you read a.m. URL

Can you please file Bug reports with status UNCONFIRMED if your are not absolutely sure that you contributed all required background information and that the problem will be reproducible with information you can provide? 
Thank you!
Comment 2 Luke 2011-05-24 16:53:57 UTC
Created attachment 47113 [details]
Sample document with long animation list in order to observe behaviour.
Comment 3 Luke 2011-05-24 16:54:31 UTC
Created attachment 47114 [details]
Annotated walkthrough of the problem
Comment 4 Luke 2011-05-24 16:55:37 UTC
@Rainer Bielefeld: I seem to have written the wrong description. My mistake, you are correct in saying that the current item stays selected. My issue is with the other behaviour you observed:

"I can confirm that the list scrolled up afterwards so that the first entry became visible, but selection remained at the modified animation."

Let me describe the situation. You have an object with many custom animations, so when you scroll to the bottom of the list you cannot see the first item. You click on the last item, and change a property - for example, change it to Start = After previous. The list is reloaded, and scrolled to the top. You now want to change the 2nd-to-last entry, but can't click on it without having to scroll down the entire list.

So, this behaviour makes it hard to quickly change between animations at the bottom of the list. Please see the attached screenshots with comments, as well as sample presentation document.

Here is a some information on my system:
* "LibreOffice 3.4.0RC1 - Ubuntu Linux 11.04 (64bit), English(US) UI [OOO340m1 (Build:11)]".
* NVIDIA graphics card, libreoffice hardware acceleration is on.
* launching via terminal with "/opt/libreoffice3.4/program/simpress".
Comment 5 Luke 2011-06-13 04:42:24 UTC
Assigning myself; currently working on this.
Comment 7 Dominik 2011-09-24 13:55:59 UTC
*** Bug 41132 has been marked as a duplicate of this bug. ***