<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>103540</bug_id>
          
          <creation_ts>2005-04-09 09:33:20 +0000</creation_ts>
          <short_desc>file dialog selection does not remember where it came from</short_desc>
          <delta_ts>2007-01-15 10:21:14 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>Unmaintained</classification>
          <product>kio</product>
          <component>kfile</component>
          <version>3.4</version>
          <rep_platform>RedHat Enterprise Linux</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>wishlist</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="disclosed">k_b0000</reporter>
          <assigned_to name="Carsten Pfeiffer">pfeiffer</assigned_to>
          
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>333031</commentid>
    <comment_count>0</comment_count>
    <who name="disclosed">k_b0000</who>
    <bug_when>2005-04-09 09:33:20 +0000</bug_when>
    <thetext>Version:           3.4 (using KDE KDE 3.4.0)
Installed from:    RedHat RPMs

in the konqueror File Manager when you move up (..) from a directory konqueror remembers which directory it came from and puts the cursor around that Directory name.

example ~/ contains 1000 dirs.
somewhere in the middle is the directory kde3.3_rpms.
if i enter this directory and then move up from it (..) from konqueror will put the cursor on kde3.4_rpms. this is extreamly conveniant.

however this is not working in the file open/save dialogs.
if i move up from a directory, it always scrolls to the top.

the Open/Save dialog should remember where it came from in the same way as the File Manager does.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>473305</commentid>
    <comment_count>1</comment_count>
    <who name="disclosed">k_b0000</who>
    <bug_when>2006-09-27 21:00:32 +0000</bug_when>
    <thetext>still present in kde 3.5.4 on FC5.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>473528</commentid>
    <comment_count>2</comment_count>
    <who name="Carsten Pfeiffer">pfeiffer</who>
    <bug_when>2006-09-28 20:42:55 +0000</bug_when>
    <thetext>SVN commit 589847 by pfeiffer:

enable directory highlighting per request (i.e. when going up it highlights
the directory that was left)
BUG: 103540


 M  +1 -1      kdiroperator.cpp  
 M  +1 -1      kdiroperator.h  


--- branches/KDE/3.5/kdelibs/kio/kfile/kdiroperator.cpp #589846:589847
@@ -74,7 +74,7 @@
     KDirOperatorPrivate() {
         onlyDoubleClickSelectsFiles = false;
         progressDelayTimer = 0L;
-        dirHighlighting = false;
+        dirHighlighting = true;
         config = 0L;
         dropOptions = 0;
     }
--- branches/KDE/3.5/kdelibs/kio/kfile/kdiroperator.h #589846:589847
@@ -517,7 +517,7 @@
      * I.e. when you go from /home/gis/src to /home/gis, the item &quot;src&quot; will
      * be made the current item.
      *
-     * Default is off.
+     * Default is on.
      */
 	// ### KDE4: make virtual
     void setEnableDirHighlighting( bool enable );
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>483321</commentid>
    <comment_count>3</comment_count>
    <who name="disclosed">k_b0000</who>
    <bug_when>2006-11-02 22:31:05 +0000</bug_when>
    <thetext>reporting from kde 3.5.5 on FC6.
This bug is not compleatly fixed. it works in most directories, but if you are standing in your a directory to which you have a quick link, in the quick link pane, then the file dialog will remember where it came from but not mark that directory.

example
1. stand in ~ (supposte that ~ has a quick link)
2. open a subdorectory.
3. go back.
4. observe that the subir is not marked, instead the focus has moved to the icon of ~.

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>483456</commentid>
    <comment_count>4</comment_count>
    <who name="Carsten Pfeiffer">pfeiffer</who>
    <bug_when>2006-11-03 11:12:53 +0000</bug_when>
    <thetext>Hmm, I cannot reproduce that -- works fine for me.  With what view configuration are you experiencing this?

IIRC, highlighting might fail if you&apos;re entering a symlinked directory. Could this be your case?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>483554</commentid>
    <comment_count>5</comment_count>
    <who name="disclosed">k_b0000</who>
    <bug_when>2006-11-03 15:53:14 +0000</bug_when>
    <thetext>no, i do not have symlinks in the direcotries in question, will add some screenshots later.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>501691</commentid>
    <comment_count>6</comment_count>
    <who name="David Faure">faure</who>
    <bug_when>2007-01-15 10:21:13 +0000</bug_when>
    <thetext>SVN commit 623695 by dfaure:

Revert 589847, selecting the last directory when going up leads to bugs since its name is being used when pressing OK
(even if a filename was typed previously to navigating down and back up). The right fix would be to give the lineedit
precedence over the selected item but this look a bit more involved, I&apos;ll let Carsten do that :)
BUG: 136630
CCBUG: 103540
CCMAIL: Carsten Pfeiffer &lt;pfeiffer@kde.org&gt;


 M  +1 -1      kdiroperator.cpp  
 M  +2 -1      kdiroperator.h  


--- branches/KDE/3.5/kdelibs/kio/kfile/kdiroperator.cpp #623694:623695
@@ -74,7 +74,7 @@
     KDirOperatorPrivate() {
         onlyDoubleClickSelectsFiles = false;
         progressDelayTimer = 0L;
-        dirHighlighting = true;
+        dirHighlighting = false;
         config = 0L;
         dropOptions = 0;
     }
--- branches/KDE/3.5/kdelibs/kio/kfile/kdiroperator.h #623694:623695
@@ -517,7 +517,8 @@
      * I.e. when you go from /home/gis/src to /home/gis, the item &quot;src&quot; will
      * be made the current item.
      *
-     * Default is on.
+     * Default is off, because this behavior introduces bug #136630.
+     * Don&apos;t enable until this bug is fixed.
      */
 	// ### KDE4: make virtual
     void setEnableDirHighlighting( bool enable );
</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>