Zim

Index frame scroll bar resets when page changes

Bug #862952 reported by Robin Lee
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zim
New
Undecided
Unassigned

Bug Description

zim 0.53

Reproducing steps:
1. Make enough pages and extend the index tree so that the scroll bar shows
2. Scroll the scroll bar to some place other than the beginning
3. Choose a page in the middle of the index frame, then the scroll bar will reset and the current page will always jump to the third last place of the index frame.

Revision history for this message
Jaap Karssenberg (jaap.karssenberg) wrote : Re: [Bug 862952] [NEW] Index frame scroll bar resets when page changes

Scroll bar will jump a little bit in order to ensure the newly selected page
is in the visible frame. Position depends on certain constraints. For as far
as I can see it works correctly.

Revision history for this message
smu (smu) wrote : Re: [Bug 862952] [NEW] Index frame scroll bar resets when page changes

On Fri, Sep 30, 2011 at 08:35:29AM -0000, Jaap Karssenberg wrote:
> Scroll bar will jump a little bit in order to ensure the newly selected page
> is in the visible frame. Position depends on certain constraints. For as far
> as I can see it works correctly.

I can also reproduce the behavior Robin describes.
The jumps are very bug (and confusing) e.g. when the window is quite
small.

1. Resize zim so that 10 entries are shown in the index frame
   (The index should contain more than 10 entries)
2. Scroll to the bottom of the index
3. select the for example the second element.
4. The scoll bar jums and the selected element is now the second last
element.

I found this quite confusing from time to time when I changed a lot
between different pages.

Hope this helps to reproduce the large jumps.

cheers,
 stefan

>
> --
> You received this bug notification because you are subscribed to Zim.
> https://bugs.launchpad.net/bugs/862952
>
> Title:
> Index frame scroll bar resets when page changes
>
> Status in Zim desktop wiki:
> New
>
> Bug description:
> zim 0.53
>
> Reproducing steps:
> 1. Make enough pages and extend the index tree so that the scroll bar shows
> 2. Scroll the scroll bar to some place other than the beginning
> 3. Choose a page in the middle of the index frame, then the scroll bar will reset and the current page will always jump to the third last place of the index frame.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/zim/+bug/862952/+subscriptions
>

Revision history for this message
Robin Lee (cheeselee) wrote : Re: [Bug 862952] [NEW] Index frame scroll bar resets when page changes

On Fri, Sep 30, 2011 at 4:35 PM, Jaap Karssenberg
<email address hidden> wrote:
> Scroll bar will jump a little bit in order to ensure the newly selected page
> is in the visible frame. Position depends on certain constraints. For as far
> as I can see it works correctly.

If user chooses page directly in the index tree, then I don't think
this kind of jump is reasonable.

Revision history for this message
Jaap Karssenberg (jaap.karssenberg) wrote :

On Fri, Sep 30, 2011 at 3:22 PM, Robin Lee <email address hidden> wrote:

> If user chooses page directly in the index tree, then I don't think
> this kind of jump is reasonable.
>

True, but not trivial to check in the code - when the page is selected in
the index there is no information anymore about the source of the event.

-- Jaap

Revision history for this message
Jaap Karssenberg (jaap.karssenberg) wrote :

Flagged as duplicate of bug #872311 -- fix committed

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.