D28192: WIP: Refactor dictionary runner

Harald Sitter noreply at phabricator.kde.org
Mon Mar 23 14:16:52 GMT 2020


sitter added a comment.


  About fixing the UX:
  There is some kind of preview tech in milou which you can take a look at and maybe build upon.
  The line space is just never going to be enough for a text only representation of a dict entry, plus it looks fairly forced anyway. So, my thinking is that ideally we'll want a minimal text display but then be able to expand that with a rich "preview" of the dict entry for the clients where we need that (notably krunner I suppose). Rich in this case means having full on control over how it is displayed using a bespoke QML item. This could work a lot like clipboard entries do, where each entry can have multiple mimetypes, one of them ought to be text which is kind of the go-to fallback, but they others may give a richer experience when the client supports it. Matches could behave much the same way, and from a glance at the existing milou code that is kind of where things were headed.

REPOSITORY
  R114 Plasma Addons

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

To: alex, broulik, ngraham, sitter, mlaurent
Cc: plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20200323/dee0c4f7/attachment-0001.html>


More information about the Plasma-devel mailing list