[prev in list] [next in list] [prev in thread] [next in thread]
List: kfm-devel
Subject: Re: Review Request 123253: dolphin: Navigate to parent folder selects child folder
From: Gregor Mi <codestruct () posteo ! org>
Date: 2017-09-21 13:45:29
Message-ID: 20170921134529.16739.47882 () mimi ! kde ! org
[Download RAW message or body]
--===============0140452742687222130==
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/123253/
-----------------------------------------------------------
(Updated Sept. 21, 2017, 1:45 p.m.)
Status
------
This change has been marked as submitted.
Review request for Dolphin and Emmanuel Pescosta.
Changes
-------
Submitted with commit 3749b5552729b434655ddc950b120bb14fe888c7 by Emmanuel Pescosta \
on behalf of Gregor Mi to branch master.
Bugs: 335616
https://bugs.kde.org/show_bug.cgi?id=335616
Repository: dolphin
Description
-------
This is a first working implementation of the feature suggestion filed in the ticket \
https://bugs.kde.org/show_bug.cgi?id=335616: "Dolphin: Navigate to parent folder \
selects child folder".
In short, this is what is does: Whenever the dolphin view is initialized to show the \
contents of a new URL (e.g. "/home/x/test") it will be checked if the new URL is a \
parent of the previous displayed URL (e.g. "/home/x/test/documents/aaa"). If the \
check is successful, then the common child (in this example: \
"/home/x/test/documents/") folder item will be selected and scrolled into view.
Diffs
-----
CMakeLists.txt 1ab84b95053c1e198ac67133366343e4bc629d2a
src/dolphinviewcontainer.h e50386ab6388174b31ded5d662ab25fbeff5a990
src/dolphinviewcontainer.cpp 72ced931b709f21d95848b541372b618df8edab5
Diff: https://git.reviewboard.kde.org/r/123253/diff/6/
Testing
-------
- unit test passes
- Played around with dolphin: enter URL manually, navigate via click in the item \
view, navigate via click in kurlnavigator, navigate with Alt+Left, Alt+Right, Alt+up, \
Backspace
2016-02-18:
There is now a difference in selection behaviour when using history buttons vs. \
direct url entry:
* history buttons: mark the item as current instead of restoring the previous \
selection
* direct url entry: the child item is marked as current and selected
I personally prefer the selection because it is clearly visible. If it is ok I would \
try to adapt the history behaviour accordingly. Update: I just saw that the "File \
Open" dialog does not do any selection at all if navigated back via history buttons. \
I'll postpone further action on this side issue for now.
Thanks,
Gregor Mi
--===============0140452742687222130==
MIME-Version: 1.0
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: 7bit
<html>
<body>
<div style="font-family: Verdana, Arial, Helvetica, Sans-Serif;">
<table bgcolor="#f9f3c9" width="100%" cellpadding="12" style="border: 1px #c9c399 \
solid; border-radius: 6px; -moz-border-radius: 6px; -webkit-border-radius: 6px;"> \
<tr> <td>
This is an automatically generated e-mail. To reply, visit:
<a href="https://git.reviewboard.kde.org/r/123253/">https://git.reviewboard.kde.org/r/123253/</a>
</td>
</tr>
</table>
<br />
<table bgcolor="#e0e0e0" width="100%" cellpadding="12" style="border: 1px gray solid; \
border-radius: 6px; -moz-border-radius: 6px; -webkit-border-radius: 6px;"> <tr>
<td>
<h1 style="margin: 0; padding: 0; font-size: 10pt;">This change has been marked as \
submitted.</h1> </td>
</tr>
</table>
<br />
<table bgcolor="#fefadf" width="100%" cellspacing="0" cellpadding="12" style="border: \
1px #888a85 solid; border-radius: 6px; -moz-border-radius: 6px; \
-webkit-border-radius: 6px;"> <tr>
<td>
<div>Review request for Dolphin and Emmanuel Pescosta.</div>
<div>By Gregor Mi.</div>
<p style="color: grey;"><em>Updated Sept. 21, 2017, 1:45 p.m.</em></p>
<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Changes</h1>
<table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" style="border: \
1px solid #b8b5a0"> <tr>
<td>
<pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: \
-moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: \
break-word;">Submitted with commit 3749b5552729b434655ddc950b120bb14fe888c7 by \
Emmanuel Pescosta on behalf of Gregor Mi to branch master.</pre> </td>
</tr>
</table>
<div style="margin-top: 1.5em;">
<strong style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Bugs: </strong>
<a href="https://bugs.kde.org/show_bug.cgi?id=335616">335616</a>
</div>
<div style="margin-top: 1.5em;">
<strong style="color: #575012; font-size: 10pt;">Repository: </strong>
dolphin
</div>
<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Description </h1>
<table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" \
style="border: 1px solid #b8b5a0"> <tr>
<td>
<pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: \
-moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: \
break-word;"><p style="padding: 0;text-rendering: inherit;margin: 0;line-height: \
inherit;white-space: inherit;">This is a first working implementation of the feature \
suggestion filed in the ticket https://bugs.kde.org/show_bug.cgi?id=335616: "Dolphin: \
Navigate to parent folder selects child folder".</p> <p style="padding: \
0;text-rendering: inherit;margin: 0;line-height: inherit;white-space: inherit;">In \
short, this is what is does: Whenever the dolphin view is initialized to show the \
contents of a new URL (e.g. "/home/x/test") it will be checked if the new URL is a \
parent of the previous displayed URL (e.g. "/home/x/test/documents/aaa"). If the \
check is successful, then the common child (in this example: \
"/home/x/test/documents/") folder item will be selected and scrolled into \
view.</p></pre> </td>
</tr>
</table>
<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Testing </h1>
<table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" style="border: \
1px solid #b8b5a0"> <tr>
<td>
<pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: \
-moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: \
break-word;"><ul style="padding: 0;text-rendering: inherit;margin: 0 0 0 \
1em;line-height: inherit;white-space: normal;"> <li style="padding: 0;text-rendering: \
inherit;margin: 0;line-height: inherit;white-space: normal;">unit test passes</li> \
<li style="padding: 0;text-rendering: inherit;margin: 0;line-height: \
inherit;white-space: normal;">Played around with dolphin: enter URL manually, \
navigate via click in the item view, navigate via click in kurlnavigator, navigate \
with Alt+Left, Alt+Right, Alt+up, Backspace</li> </ul>
<p style="padding: 0;text-rendering: inherit;margin: 0;line-height: \
inherit;white-space: inherit;">2016-02-18: There is now a difference in selection \
behaviour when using history buttons vs. direct url entry:</p> <ul style="padding: \
0;text-rendering: inherit;margin: 0 0 0 1em;line-height: inherit;white-space: \
normal;"> <li style="padding: 0;text-rendering: inherit;margin: 0;line-height: \
inherit;white-space: normal;">history buttons: mark the item as current instead of \
restoring the previous selection</li> <li style="padding: 0;text-rendering: \
inherit;margin: 0;line-height: inherit;white-space: normal;">direct url entry: the \
child item is marked as current and selected</li> </ul>
<p style="padding: 0;text-rendering: inherit;margin: 0;line-height: \
inherit;white-space: inherit;">I personally prefer the selection because it is \
clearly visible. If it is ok I would try to adapt the history behaviour accordingly. \
Update: I just saw that the "File Open" dialog does not do any selection at all if \
navigated back via history buttons. I'll postpone further action on this side issue \
for now.</p></pre> </td>
</tr>
</table>
<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Diffs</b> </h1>
<ul style="margin-left: 3em; padding-left: 0;">
<li>CMakeLists.txt <span style="color: \
grey">(1ab84b95053c1e198ac67133366343e4bc629d2a)</span></li>
<li>src/dolphinviewcontainer.h <span style="color: \
grey">(e50386ab6388174b31ded5d662ab25fbeff5a990)</span></li>
<li>src/dolphinviewcontainer.cpp <span style="color: \
grey">(72ced931b709f21d95848b541372b618df8edab5)</span></li>
</ul>
<p><a href="https://git.reviewboard.kde.org/r/123253/diff/6/" style="margin-left: \
3em;">View Diff</a></p>
</td>
</tr>
</table>
</div>
</body>
</html>
--===============0140452742687222130==--
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic