Bug 350645 - Huge icons in Task Switcher
Summary: Huge icons in Task Switcher
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: tabbox (show other bugs)
Version: 4.11.14
Platform: Mint (Ubuntu based) Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-27 02:45 UTC by Matias L
Modified: 2021-11-07 19:08 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Screenshot Number 1. (177.07 KB, image/png)
2015-07-28 13:48 UTC, Matias L
Details
Screenshot Number 2. (202.32 KB, image/png)
2015-07-28 13:48 UTC, Matias L
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matias L 2015-07-27 02:45:25 UTC
Some apps have really huge icons in task switcher, even hiding other apps. Some examples: Atom, This War Of Mine, Kodi. I know that this could also be considered an error from the app point of view (for not supplying correct size icons), but I believe it should be on KDE's side to resize it to appropiate dimensions.

My KDE version is 4.14.2.

Here are some example pics: http://imgur.com/I5bkW9t,H4qqnWM

Reproducible: Always

Steps to Reproduce:
1. Open one of the aforementioned apps
2. Try doing an alt-tab
3. Watch the icon sizes

Actual Results:  
Huge icons that cover other apps.

Expected Results:  
Normal size icons.
Comment 1 Thomas Lübking 2015-07-28 13:46:21 UTC
Imgur shows me a black cat in the dark, but can you please post the outputs of

   xdpyinfo | grep resolution

and

   xrandr -q

and

   qdbus org.kde.KWin /KWin supportInformation
Comment 2 Matias L 2015-07-28 13:48:01 UTC
Created attachment 93776 [details]
Screenshot Number 1.
Comment 3 Matias L 2015-07-28 13:48:47 UTC
Created attachment 93777 [details]
Screenshot Number 2.
Comment 4 Matias L 2015-07-28 13:53:14 UTC
(In reply to Thomas Lübking from comment #1)
> Imgur shows me a black cat in the dark, but can you please post the outputs
> of
> 
>    xdpyinfo | grep resolution
> 
> and
> 
>    xrandr -q
> 
> and
> 
>    qdbus org.kde.KWin /KWin supportInformation

Sorry, I didn't see the attachment section when creating the bug. Here is the output of what you've asked:
xdpyinfo |  grep resolution   -> resolution:    84x84 dots per inch
xrandr -q   -> https://paste.kde.org/pqkvdl8se
qdbus org.kde.KWin /KWin supportInformation ->  https://paste.kde.org/ppggil1uh

Thanks,
Comment 5 Thomas Lübking 2015-07-28 14:05:48 UTC
xrandr

Screen 0: minimum 8 x 8, current 2720 x 768, maximum 8192 x 8192
DVI-I-0 connected primary 1360x768+1360+0 (normal left inverted right x axis y axis) 410mm x 230mm
   1360x768       60.0*+
   1024x768       75.0     70.1     60.0  
   800x600        75.0     72.2     60.3     56.2  
   640x480        75.0     72.8     59.9  
DVI-I-1 connected 1360x768+0+0 (normal left inverted right x axis y axis) 580mm x 320mm
   1360x768       60.0*+
   1280x1024      60.0  
   1280x768       59.9  
   1024x768       85.0     75.0     70.1     60.0  
   800x600        85.1     75.0     72.2     60.3  
   640x480        85.0     75.0     72.8     59.9  
TV-0 disconnected (normal left inverted right x axis y axis)
DVI-I-2 disconnected (normal left inverted right x axis y axis)
DVI-I-3 disconnected (normal left inverted right x axis y axis)


-----

kwin support info:

==========================

Version
=======
KWin version: 4.11.11
KDE SC version (runtime): 4.14.2
KDE SC version (compile): 4.13.2
Qt Version: 4.8.6

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
showDesktopIsMinimizeAll: false
rollOverDesktops: true
focusStealingPreventionLevel: 1
legacyFullscreenSupport: false
operationTitlebarDblClick: 
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: 2
useCompositing: true
compositingInitialized: true
hiddenPreviews: 1
unredirectFullscreen: false
glSmoothScale: 2
colorCorrected: false
xrenderSmoothScale: false
maxFpsInterval: 16666666
refreshRate: 0
vBlankTime: 6000000
glDirect: true
glStrictBinding: true
glStrictBindingFollowsDriver: true
glLegacy: false
glCoreProfile: false
glPreferBufferSwap: 97

Screen Edges
============
desktopSwitching: false
desktopSwitchingMovingClients: false
cursorPushBackDistance: 
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: 2
Screen 0 Geometry: 1360,0,1360x768
Screen 1 Geometry: 0,0,1360x768

Decoration
==========
Current Plugin: kwin3_oxygen
Shadows: yes
Alpha: yes
Announces Alpha: yes
Tabbing: yes
Frame Overlap: no
Blur Behind: no

Compositing
===========
Qt Graphics System: native
Compositing is not active
Comment 6 Thomas Lübking 2015-07-28 14:22:22 UTC
Thanks.
For the future, please do not use paste services for informations on bugs (the data is lost after a week or so)

On topic:
That's not a resolution problem - unfortunately it's also an older KWin version which doesn't print the tabbox config (what I wanted to see ;-)


It's however likely indeed because the client provides only one (huge) icon and the tabbox (big icons?) intentionally (bug #294163) doesn't scale them.
Please notice that KWin 4.x is frozen but for security patches :-(

Martin, if that's still a problem in KWin 5 we might have to at least downscale icons?
Comment 7 Matias L 2015-07-28 14:51:29 UTC
lol, I was about to put the output here, but when I ran the qdbus command it said "Please post the information provided underneath this introductory text to a paste bin service
like http://paste.kde.org instead of pasting into support threads.", so I changed my mind haha.

On Topic: 
If it's of any use, Atom has only one icon, but kodi supplies several ones in /usr/share/icons/hicolor/ (16x16, 22x22, 24x24, 32x32, 48x48, 64x64, 128x128, 256x256), but it seems to use a rather big one. I can't find the icon for "this war of mine" though.

If I can be of any help, just tell me. Thanks!
Comment 8 kde.org 2021-11-06 12:51:31 UTC
This issue report is quite old. Can you please confirm, that it still persists with KDE 5.23?
Comment 9 Matias L 2021-11-07 19:08:37 UTC
To the best of my knowledge, it doesn't happen anymore :) (honestly, I have migrated from that setup long ago).