Bug 327759

Summary: Edit connections dialog looks bad on high DPI screens
Product: [Applications] systemsettings Reporter: Michael Zanetti <mzanetti>
Component: kcm_networkmanagementAssignee: Lukáš Tinkl <lukas>
Status: RESOLVED FIXED    
Severity: normal CC: jgrulich, lukas
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In: 0.9.3.2
Sentry Crash Report:

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