D17042: Fix selection when navigating back, with size sorting.

Thomas Surrel noreply at phabricator.kde.org
Fri Nov 30 15:10:13 GMT 2018


thsurrel added a comment.


  That happens only with size sorting because we modify the "size" of folders by setting the number of items in them. That triggers a re-sort once this is done, that it turns call itemsMoved and triggers the bug.
  See the special case in KFileItemModelRolesUpdater::applySortRole for details.
  
  It took me a while to figure this out, but it looks like there is no other root cause to this bug.

REPOSITORY
  R318 Dolphin

REVISION DETAIL
  https://phabricator.kde.org/D17042

To: thsurrel, #dolphin
Cc: elvisangelaccio, broulik, kfm-devel, alexde, sourabhboss, feverfew, spoorun, navarromorales, firef, andrebarros, emmanuelp, mikesomov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20181130/90b24b92/attachment.htm>


More information about the kfm-devel mailing list