D12591: KFileWidget: Provide faster access to the icon position setting

Henrik Fehlauer noreply at phabricator.kde.org
Mon Apr 30 22:44:57 UTC 2018


rkflx planned changes to this revision.
rkflx added a comment.


  In D12591#255639 <https://phabricator.kde.org/D12591#255639>, @elvisangelaccio wrote:
  
  > > While the submenu itself is not advertised in the API docs, it was publicly accessible
  >
  > Where? Isn't it a member of `KDirOperator::Private`? (I'm referring to `decorationMenu`)
  
  
  That was my first thought too, but unfortunately it leaks out via the `actionCollection()`. See my patch to K3b (D12598 <https://phabricator.kde.org/D12598>), where it was used that way. I'd rather not break third-party users I don't know about…
  
  ---
  
  In D12591#255732 <https://phabricator.kde.org/D12591#255732>, @ngraham wrote:
  
  > One thought: with this patch, there will be two disabled and inapplicable items in the menu when you're not using Short View, which might confuse people. Might be appropriate to only show them for Short View.
  
  
  Isn't not confusing people what the "disabled state" is there for, compared to making widgets invisible? At least that's how it's done in most other places: Disable options which don't apply. Granted, the connection to Short View is a bit hard to discover, but that was the case before the patch too (even more so).
  
  Nevertheless, I'll hold of with the patch for now. Another more radical way forward would be to merge Next and Above as two separate View modes like in Dolphin (and get rid of the rest?). Seems like we need more discussion about the modes in general, let's do that in T8552 <https://phabricator.kde.org/T8552>.

REPOSITORY
  R241 KIO

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

To: rkflx, #frameworks, ngraham
Cc: ngraham, elvisangelaccio, michaelh, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180430/485dd7b1/attachment.html>


More information about the Kde-frameworks-devel mailing list