[konversation] [Bug 341364] Nicklist themes don't scale to higher DPI

Friedrich W. H. Kossebau bugzilla_noreply at kde.org
Wed Sep 30 17:12:58 BST 2020


https://bugs.kde.org/show_bug.cgi?id=341364

Friedrich W. H. Kossebau <kossebau at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kossebau at kde.org

--- Comment #2 from Friedrich W. H. Kossebau <kossebau at kde.org> ---
(In reply to David Edmundson from comment #1)
> Given you load them as pixmaps manually from a filename if someone shipped
> .pngs called
> irc_admin at 2x.png it will load it automatically and set the right
> devicePixelRatio

Neat, learned something new, was not aware of that QImageReader feature :)
Though in Konversation case some pixmap overlay work is done, like putting the
away or operator state pixmap on top of the user icon, so we need to replicate
such loading behaviour to also pick up @2x variant files ourselves.

https://invent.kde.org/network/konversation/-/merge_requests/8 would be a first
approach to the problem:

it extends the current support to alternatively to PNG icons load and use SVG
icons, if files are found with the SVG suffix.

And for the PNG icons it checks for the presence of "@2x" PNG files and if
present loads them to create and add alternative hidpi pixmaps to the QIcons
used in the nick list.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Konversation-devel mailing list