Bug 381044 - Title bar does not comply to HiDPI scaling
Summary: Title bar does not comply to HiDPI scaling
Status: RESOLVED DUPLICATE of bug 384765
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: 5.10.1
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-09 23:47 UTC by Szymon Łągiewka
Modified: 2017-12-29 21:40 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
mgraesslin: Wayland+
mgraesslin: X11-


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Szymon Łągiewka 2017-06-09 23:47:54 UTC
With scaling enabled (DrmOutputs, Scale=2) with single or multiple displays, the title bar for any window on the scaled display is not natively sharp. Looks like it was rendered for 1600x900 instead of 3200x1600 that I have. The windows themselves are sharp as expected - Dolphin, systemsettigs etc.
Comment 1 Szymon Łągiewka 2017-06-13 17:23:45 UTC
Same is actually happening for wallpaper. Instead of having sharp image of a 4K photo, I can clearly see that it's not HiDPI at all.
Comment 2 Martin Flöser 2017-07-22 19:12:07 UTC
please provide the output of:
qdbus org.kde.KWin /KWin supportInformation
Comment 3 Martin Flöser 2017-12-29 20:51:52 UTC
Waiting for support information.
Comment 4 Szymon Łągiewka 2017-12-29 21:16:25 UTC
https://paste.kde.org/pbythjfdw/zwzag5
Comment 5 Martin Flöser 2017-12-29 21:38:02 UTC
From paste:
Version
=======
KWin version: 5.11.4
Qt Version: 5.10.0
Qt compile version: 5.10.0
XCB compile version: 1.12

Operation Mode: Xwayland

Build Options
=============
KWIN_BUILD_DECORATIONS: yes
KWIN_BUILD_TABBOX: yes
KWIN_BUILD_ACTIVITIES: yes
HAVE_INPUT: yes
HAVE_DRM: yes
HAVE_GBM: yes
HAVE_X11_XCB: yes
HAVE_EPOXY_GLX: yes
HAVE_WAYLAND_EGL: yes

X11
===
Vendor: The X.Org Foundation
Vendor Release: 11906000
Protocol Version/Revision: 11/0
SHAPE: yes; Version: 0x11
RANDR: yes; Version: 0x14
DAMAGE: yes; Version: 0x11
Composite: yes; Version: 0x4
RENDER: yes; Version: 0xb
XFIXES: yes; Version: 0x50
SYNC: yes; Version: 0x31
GLX: yes; Version: 0x0

Decoration
==========
Plugin: org.kde.breeze
Theme: 
Blur: 0
onAllDesktopsAvailable: true
alphaChannelSupported: true
closeOnDoubleClickOnMenu: false
decorationButtonsLeft: 5, 4, 3, 2
decorationButtonsRight: 6
borderSize: 0
gridUnit: 10
font: Noto Sans,10,-1,5,50,0,0,0,0,0,Regular
smallSpacing: 2
largeSpacing: 10

Options
=======
focusPolicy: 0
nextFocusPrefersMouse: false
clickRaise: true
autoRaise: false
autoRaiseInterval: 0
delayFocusInterval: 0
shadeHover: false
shadeHoverInterval: 250
separateScreenFocus: false
placement: 4
focusPolicyIsReasonable: true
borderSnapZone: 10
windowSnapZone: 10
centerSnapZone: 0
snapOnlyWhenOverlapping: false
rollOverDesktops: false
focusStealingPreventionLevel: 1
legacyFullscreenSupport: false
operationTitlebarDblClick: 5000
operationMaxButtonLeftClick: 5000
operationMaxButtonMiddleClick: 5015
operationMaxButtonRightClick: 5014
commandActiveTitlebar1: 0
commandActiveTitlebar2: 30
commandActiveTitlebar3: 2
commandInactiveTitlebar1: 4
commandInactiveTitlebar2: 30
commandInactiveTitlebar3: 2
commandWindow1: 7
commandWindow2: 8
commandWindow3: 8
commandWindowWheel: 31
commandAll1: 10
commandAll2: 3
commandAll3: 14
keyCmdAllModKey: 16777251
showGeometryTip: false
condensedTitle: false
electricBorderMaximize: true
electricBorderTiling: true
electricBorderCornerRatio: 0.25
borderlessMaximizedWindows: false
killPingTimeout: 5000
hideUtilityWindowsForInactive: true
inactiveTabsSkipTaskbar: false
autogroupSimilarWindows: false
autogroupInForeground: true
compositingMode: 1
useCompositing: true
compositingInitialized: true
hiddenPreviews: 1
glSmoothScale: 1
xrenderSmoothScale: true
maxFpsInterval: 16666666
refreshRate: 0
vBlankTime: 6000000
glStrictBinding: false
glStrictBindingFollowsDriver: true
glCoreProfile: false
glPreferBufferSwap: 112
glPlatformInterface: 2
windowsBlockCompositing: true

Screen Edges
============
desktopSwitching: false
desktopSwitchingMovingClients: true
cursorPushBackDistance: 1x1
timeThreshold: 150
reActivateThreshold: 350
actionTopLeft: 0
actionTop: 0
actionTopRight: 0
actionRight: 0
actionBottomRight: 0
actionBottom: 0
actionBottomLeft: 0
actionLeft: 0

Screens
=======
Multi-Head: no
Active screen follows mouse:  no
Number of Screens: 1

Screen 0:
---------
Name: RXN49LQ133Z eDP-1-unknown
Geometry: 0,0,1600x900
Refresh Rate: 59.982


Compositing
===========
Compositing is active
Compositing Type: OpenGL
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) HD Graphics 620 (Kaby Lake GT2) 
OpenGL version string: 3.0 Mesa 17.3.1
OpenGL platform interface: EGL
OpenGL shading language version string: 1.30
Driver: Intel
GPU class: Unknown
OpenGL version: 3.0
GLSL version: 1.30
Mesa version: 17.3.1
Linux kernel version: 4.14.9
Direct rendering: Requires strict binding: no
GLSL shaders:  yes
Texture NPOT support:  yes
Virtual Machine:  no
OpenGL 2 Shaders are used
Painting blocks for vertical retrace:  no

Loaded Effects:
---------------
kwin4_effect_fade
kwin4_effect_scalein
kwin4_effect_windowaperture
kwin4_effect_logout
kwin4_effect_translucency
kwin4_effect_dialogparent
kwin4_effect_morphingpopups
kwin4_effect_frozenapp
kwin4_effect_maximize
slidingpopups
slide
screenshot
minimizeanimation
desktopgrid
coverswitch
colorpicker
presentwindows
highlightwindow
blur
startupfeedback
screenedge
kscreen

Currently Active Effects:
-------------------------
blur

Effect Settings:
----------------
kwin4_effect_fade:

kwin4_effect_scalein:

kwin4_effect_windowaperture:

kwin4_effect_logout:

kwin4_effect_translucency:

kwin4_effect_dialogparent:

kwin4_effect_morphingpopups:

kwin4_effect_frozenapp:

kwin4_effect_maximize:

slidingpopups:
fadeInTime: 150
fadeOutTime: 250

slide:

screenshot:

minimizeanimation:

desktopgrid:
zoomDuration: 300
border: 5
desktopNameAlignment: 0
layoutMode: 1
customLayoutRows: 2
usePresentWindows: true

coverswitch:
animationDuration: 200
animateSwitch: true
animateStart: true
animateStop: true
reflection: true
windowTitle: false
zPosition: 432
primaryTabBox: false
secondaryTabBox: false

colorpicker:

presentwindows:
layoutMode: 0
showCaptions: false
showIcons: false
doNotCloseWindows: true
ignoreMinimized: false
accuracy: 100
fillGaps: true
fadeDuration: 150
showPanel: true
leftButtonWindow: 1
rightButtonWindow: 4
middleButtonWindow: 0
leftButtonDesktop: 2
middleButtonDesktop: 0
rightButtonDesktop: 0

highlightwindow:

blur:
blurRadius: 14
cacheTexture: true

startupfeedback:
type: 1

screenedge:

kscreen:
Comment 6 Martin Flöser 2017-12-29 21:40:43 UTC
As it's breeze I thought we already fixed that and just found a similar bug which will be fixed with Plasma 5.12. Setting to duplicate.

*** This bug has been marked as a duplicate of bug 384765 ***