<?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>453289</bug_id>
          
          <creation_ts>2022-05-02 09:26:57 +0000</creation_ts>
          <short_desc>Dolphin doesn&apos;t mark the parent folder when Up button is being used</short_desc>
          <delta_ts>2022-06-08 19:26:29 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>Frameworks and Libraries</classification>
          <product>frameworks-kio</product>
          <component>URL navigator</component>
          <version>5.93.0</version>
          <rep_platform>Other</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>regression</keywords>
          <priority>NOR</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Nick Stefanov">mo78</reporter>
          <assigned_to name="KIO Bugs">kio-bugs-null</assigned_to>
          <cc>3809940and</cc>
    
    <cc>bugseforuns</cc>
    
    <cc>dolphin-bugs-null</cc>
    
    <cc>felixernst</cc>
    
    <cc>kdelibs-bugs-null</cc>
    
    <cc>me</cc>
    
    <cc>nate</cc>
    
    <cc>php4fan</cc>
    
    <cc>popov895</cc>
    
    <cc>postix</cc>
    
    <cc>programmer.pesesoft+kde</cc>
    
    <cc>putr4.s</cc>
    
    <cc>rauchwolke</cc>
    
    <cc>sausagefactory0</cc>
    
    <cc>uhhadd</cc>
          
          <cf_commitlink>https://invent.kde.org/frameworks/kio/commit/75c62a2d436b359bde211b7255895ed04595ce20</cf_commitlink>
          <cf_versionfixedin>5.95</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2120574</commentid>
    <comment_count>0</comment_count>
    <who name="Nick Stefanov">mo78</who>
    <bug_when>2022-05-02 09:26:57 +0000</bug_when>
    <thetext>SUMMARY
***
Dolphin doesn&apos;t mark the parent folder when Up button is being used. It used to work fine but after some upgrade it stoped. It&apos;s very inconvenient with directories with bunch of folders.
***


STEPS TO REPRODUCE
1. Enter a folder.
2. Exit the folder using the Up button (it&apos;s working with Back button).

OBSERVED RESULT
The parent folder isn&apos;t marked/selected.

EXPECTED RESULT
The parent folder should be marked/selected.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma:  
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.93.0
Qt Version: 5.15.3</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2120969</commentid>
    <comment_count>1</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2022-05-03 17:56:26 +0000</bug_when>
    <thetext>*** Bug 453176 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2120981</commentid>
    <comment_count>2</comment_count>
    <who name="Nick Stefanov">mo78</who>
    <bug_when>2022-05-03 18:11:48 +0000</bug_when>
    <thetext>@Nate,
I don&apos;t think this problem is the same. For me Dolphin doesn&apos;t select anything when Up is being used.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2121197</commentid>
    <comment_count>3</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2022-05-04 16:04:00 +0000</bug_when>
    <thetext>*** Bug 453347 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2121199</commentid>
    <comment_count>4</comment_count>
    <who name="">php4fan</who>
    <bug_when>2022-05-04 16:18:41 +0000</bug_when>
    <thetext>&gt; I don&apos;t think this problem is the same. For me Dolphin doesn&apos;t select anything when Up is being used.

It&apos;s kind of &quot;implicitly selected&quot;. It&apos;s not fully highlighted with a blue background, but it is underlined with a blue line, and it behaves as selected at least in that, if you hit Enter, it&apos;s the one you go into.

The problem, anyway, is that the child folder you&apos;re coming from is not selected, and it should (and used to be), so it does seem to be the exact same issue described in the other bugs.

BTW when you say &quot;parent&quot; I think you mean &quot;child&quot;. If P is the parent of C and C is the child of P, you navigate from C to P and the one that fails to be selected is C.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2121242</commentid>
    <comment_count>5</comment_count>
    <who name="Nick Stefanov">mo78</who>
    <bug_when>2022-05-04 18:09:21 +0000</bug_when>
    <thetext>Yes, I now checked it and it&apos;s indeed underlined, you&apos;re right :)

I don&apos;t know if it will be parent or child (I&apos;m a non-native speaker), but I think everybody realized what the problem is :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2121392</commentid>
    <comment_count>6</comment_count>
    <who name="Felix Ernst">felixernst</who>
    <bug_when>2022-05-05 12:41:05 +0000</bug_when>
    <thetext>I can not reproduce this bug on current master. It seems to select the child folder one has emerged from correctly after using the &quot;Up&quot; action.

&gt;It&apos;s kind of &quot;implicitly selected&quot;. It&apos;s not fully highlighted with a blue background,
&gt;but it is underlined with a blue line, and it behaves as selected at least in that,
&gt;if you hit Enter, it&apos;s the one you go into.

This is actually the behaviour I would prefer in general. We have a bug report that wishes for this behaviour to be implemented everywhere. See https://bugs.kde.org/show_bug.cgi?id=424723.

It is true that the behaviour reported here is currently inconsistent and I don&apos;t know what caused this but I would rather see https://bugs.kde.org/show_bug.cgi?id=424723 fixed than this one. But since we already seem to be back to the old behaviour on master, I guess this will have to wait.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2121402</commentid>
    <comment_count>7</comment_count>
    <who name="">php4fan</who>
    <bug_when>2022-05-05 13:32:00 +0000</bug_when>
    <thetext>&gt; This is actually the behaviour I would prefer in general. 

To clarify, the folder that gets underlined now (after this regression has appeared) is the first one in the folder, NOT the one you came from.
If you suggest that *the folder you came from* gets just underlined (like the first folder is now) instead of fully selected (like the folder you came from used to be), I&apos;m not sure of all the implications of that, but I think it&apos;s fine, as long as, at least:
- pressing enter will enter that folder
- using the right arrows will select the folder next to that one.
which I think is what would happen, since it&apos;s what now happens to the first folder, which gets underlined.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2122034</commentid>
    <comment_count>8</comment_count>
    <who name="">sausagefactory0</who>
    <bug_when>2022-05-08 06:11:50 +0000</bug_when>
    <thetext>Can confirm, it&apos;s always the first folder that gets underlined, not the folder I navigated from using UP. Also I&apos;m sure it was working correctly a few months ago, so it must be a recent regression.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2122052</commentid>
    <comment_count>9</comment_count>
    <who name="Felix Ernst">felixernst</who>
    <bug_when>2022-05-08 10:56:01 +0000</bug_when>
    <thetext>&gt;To clarify, the folder that gets underlined now (after this regression has appeared)
&gt;is the first one in the folder, NOT the one you came from.

Oh okay. I had missed this.

&gt;If you suggest that *the folder you came from* gets just underlined (like the first folder is now)
&gt;instead of fully selected (like the folder you came from used to be), I&apos;m not sure of all the
&gt;implications of that, but I think it&apos;s fine, as long as, at least: […]

Yes, that is what the other bug reporter is suggesting and I am agreeing with. But now that I saw that the old behaviour is already back in the current master development branch, this is now not related to this bug report anymore.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2123342</commentid>
    <comment_count>10</comment_count>
    <who name="">sausagefactory0</who>
    <bug_when>2022-05-14 11:16:21 +0000</bug_when>
    <thetext>&gt; I can not reproduce this bug on current master. It seems to select the child
&gt; folder one has emerged from correctly after using the &quot;Up&quot; action.

I installed dolphin-git-22.04.0.r67.g0fc218fd2-1 from AUR on Arch Linux, which is supposed to be the current master, and the bug still reproduces. The folder that&apos;s underlined is always the first, and not the one I navigated up from.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2123749</commentid>
    <comment_count>11</comment_count>
    <who name="Felix Ernst">felixernst</who>
    <bug_when>2022-05-16 12:50:50 +0000</bug_when>
    <thetext>I can now also reproduce the bug on master. Not sure why I wasn&apos;t able to reproduce it the last time I tried.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2123754</commentid>
    <comment_count>12</comment_count>
    <who name="Nick Stefanov">mo78</who>
    <bug_when>2022-05-16 12:57:40 +0000</bug_when>
    <thetext>It&apos;s a crucial behaviour and without it it&apos;s a nightmare. Let&apos;s hope for a quick fix.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2123833</commentid>
    <comment_count>13</comment_count>
    <who name="Felix Ernst">felixernst</who>
    <bug_when>2022-05-16 16:40:57 +0000</bug_when>
    <thetext>&gt;I can now also reproduce the bug on master.
&gt;Not sure why I wasn&apos;t able to reproduce it the last time I tried.

The reason why I wasn&apos;t able to reproduce with Dolphin master was that the regression was introduced by a change in frameworks and not by a change in Dolphin. Since I had updated frameworks since then I was suddenly able to reproduce the bug on master.

I was successful in identifying the faulty commit in the KIO framework: https://invent.kde.org/frameworks/kio/-/commit/fdacbf4e290c856a72a5988f5a612360a76af896 It was the first commit I tried because it looked like it might be the reason.

I am therefore moving this bug to KIO now since framework changes shouldn&apos;t cause regressions in application code. I&apos;ll also let the person responsible for this regression know that this bug exists. I hope they will be able to fix it quickly.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2123970</commentid>
    <comment_count>14</comment_count>
    <who name="Nick Stefanov">mo78</who>
    <bug_when>2022-05-16 20:54:46 +0000</bug_when>
    <thetext>@Felix Ernst
Thank you so much!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2124066</commentid>
    <comment_count>15</comment_count>
    <who name="Felix Ernst">felixernst</who>
    <bug_when>2022-05-17 09:10:43 +0000</bug_when>
    <thetext>You are welcome!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2129025</commentid>
    <comment_count>16</comment_count>
    <who name="Bug Janitor Service">bug-janitor</who>
    <bug_when>2022-06-04 18:44:03 +0000</bug_when>
    <thetext>A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kio/-/merge_requests/862</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2129091</commentid>
    <comment_count>17</comment_count>
    <who name="Jim Jones">rauchwolke</who>
    <bug_when>2022-06-05 09:18:26 +0000</bug_when>
    <thetext>(In reply to Bug Janitor Service from comment #16)
&gt; A possibly relevant merge request was started @
&gt; https://invent.kde.org/frameworks/kio/-/merge_requests/862

the patch fixes the bug for me</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2129962</commentid>
    <comment_count>18</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2022-06-08 18:54:34 +0000</bug_when>
    <thetext>*** Bug 455035 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2129971</commentid>
    <comment_count>19</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2022-06-08 19:12:07 +0000</bug_when>
    <thetext>Git commit 75c62a2d436b359bde211b7255895ed04595ce20 by Nate Graham, on behalf of Janet Blackquill.
Committed on 08/06/2022 at 19:12.
Pushed by ngraham into branch &apos;master&apos;.

KCoreUrlNavigator: add urlSelectionRequested signal

M  +3    -0    src/filewidgets/kurlnavigator.cpp
M  +3    -0    src/gui/kcoreurlnavigator.cpp
M  +12   -0    src/gui/kcoreurlnavigator.h

https://invent.kde.org/frameworks/kio/commit/75c62a2d436b359bde211b7255895ed04595ce20</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>