Bug 327759 - Edit connections dialog looks bad on high DPI screens
Summary: Edit connections dialog looks bad on high DPI screens
Status: RESOLVED FIXED
Alias: None
Product: plasma-nm
Classification: Plasma
Component: editor (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Lukáš Tinkl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-18 10:59 UTC by Michael Zanetti
Modified: 2013-11-21 10:35 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 0.9.3.2


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Zanetti 2013-11-18 10:59:18 UTC
Using a Apple retina display with 220 DPI

This is how it looks when I click on "Edit connections..." for the first time:
http://i.imgur.com/kpKfRK5.png

This is after I drag the window bigger myself:
http://i.imgur.com/jUdU8Vv.png

Seems the initial size and the height for the list delegates is hardcoded to pixel sizes which makes it look quite bad on high DPI screens.


Reproducible: Always
Comment 1 Jan Grulich 2013-11-18 11:25:33 UTC
The size is not hardcoded, it's default size used by QTreeWidgetItem.
Comment 2 Lukáš Tinkl 2013-11-18 12:10:43 UTC
What version is this? Did you move the menu somewhere?
Comment 3 Michael Zanetti 2013-11-21 09:37:45 UTC
(In reply to comment #2)
> What version is this? 

0.9.3.1-0ubuntu1 0

> Did you move the menu somewhere?

Which menu? The menu bar in the Connection editor? That one is in the global menubar I'm using.
Comment 4 Jan Grulich 2013-11-21 10:35:12 UTC
Git commit 82ba5aa57c3d7d284613b4609c04e23303017a26 by Jan Grulich.
Committed on 21/11/2013 at 09:50.
Pushed by grulich into branch 'master'.

Do not explicitly specify the size of item

M  +0    -2    editor/connectionitem.cpp

http://commits.kde.org/plasma-nm/82ba5aa57c3d7d284613b4609c04e23303017a26