Bug 226169 - k3b file selector moves current file selection inappropriatly
Summary: k3b file selector moves current file selection inappropriatly
Status: RESOLVED FIXED
Alias: None
Product: k3b
Classification: Applications
Component: general (show other bugs)
Version: 1.68.0
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Sebastian Trueg
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-10 18:41 UTC by p92
Modified: 2010-02-27 21:52 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description p92 2010-02-10 18:41:15 UTC
Version:           1.68.0 (using KDE 4.3.5)
OS:                Linux
Installed from:    Ubuntu Packages

open k3b
let's use the file selector on upper left quadrant
it should show files and directory in a tree view
find a directory containing lots of directories (more dirs than can be shown at once on current file selector)
click on this directory (the + sign)
the list of subdirectories is shown in the tree 
now scroll a little down with mouse
now select a subdir near the middle of the list

bug : all the list scrolls down until the selected dir reach bottom of shown files in file selector

expected behaviour : no automatic scrolling please !
if I want to select subdirs one by one I have to scroll up the list up each time after selecting a subdir because my selected subdir is beeing placed on the bottom of the window each time
Comment 1 p92 2010-02-10 19:00:26 UTC
this only happens in the 2nd subdir level  not the first


-level1
  -level2
    -level3------ visible top of selector
       dir1
       dir2
       dir3 <---- select this dir
       dir4       (more dirs not shown... )
----------------  visible bottom of selector


-level1
  -level2------- visible top of selector
    -level3
       dir1
       dir2
       dir3 <---- selected dir is scrolled down bottom (should NOT MOVE)
----------------  visible bottom of selector
Comment 2 p92 2010-02-16 17:32:12 UTC
still true with 
Qt : 4.6.1
Plate-forme de développement de KDE : 4.4.00 (KDE 4.4.0)
K3b : 1.68.0
Comment 3 Michał Małek 2010-02-27 21:52:51 UTC
SVN commit 1096860 by mmalek:

Don't try to expand and select already expanded hierarchy. Otherwise the view behaves strange in some cases, e.g. performs unnecessary scrolling which can be annoying for a user.
BUG: 226169

 M  +8 -2      k3bfiletreeview.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1096860