Review Request: Keeps the selection after showing/hiding hidden files.
Peter Penz
peter.penz19 at gmail.com
Wed Jun 1 23:48:48 BST 2011
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/101487/#review3621
-----------------------------------------------------------
Thanks for the patch. I just had a look and if I don't miss anything it should
be sufficient to just add the line:
m_selectedItems = selectedItems();
to DolphinView::setShowHiddenFiles().
I'm not really happy with how the selections are remembered in DolphinView in
general: We have m_selectedItems to remember the selection when e.g. changing
views and there is m_newFileNames for the usecase where the KFileItems are not
available yet and only the new names are known.
I'm currently working on a (let's say) "new view-engine" in Dolphin for 4.8
that should allow us to get rid of at least m_selectedItems but for 4.7 it
would be great if we could get in this fix.
Would it be possible that you check whether 'm_selectedItems =
selectedItems();' is sufficient? I'm quite sure this should work but probably
I'm missing something... Thanks :-)
- Peter
On June 1, 2011, 9:58 p.m., Matthias Fuchs wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/101487/
> -----------------------------------------------------------
>
> (Updated June 1, 2011, 9:58 p.m.)
>
>
> Review request for KDE Base Apps, Peter Penz and Frank Reininghaus.
>
>
> Summary
> -------
>
> Still only files that are shown will be selected, thus selecting hidden files and then hiding hidden files will deselect those.
>
>
> This addresses bug 177215.
> http://bugs.kde.org/show_bug.cgi?id=177215
>
>
> Diffs
> -----
>
> dolphin/src/views/dolphinview.cpp 4bc901b
>
> Diff: http://git.reviewboard.kde.org/r/101487/diff
>
>
> Testing
> -------
>
>
> Thanks,
>
> Matthias
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20110601/4d2a7b4c/attachment.htm>
More information about the kde-core-devel
mailing list