Bug 356946 - Kmix GUI [Audio Hardware Setup] - User avatar isn't shrinked.
Summary: Kmix GUI [Audio Hardware Setup] - User avatar isn't shrinked.
Status: RESOLVED FIXED
Alias: None
Product: kmix
Classification: Applications
Component: Visual: Layout and GUI (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Christian Esken
URL: https://www.youtube.com/watch?v=YUX77...
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-20 13:08 UTC by rapar
Modified: 2015-12-23 21:52 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rapar 2015-12-20 13:08:23 UTC
The "Audio Hardware Setup" window isn't using a shrinked version of the user's avatar.
The buttons can only be reached with Tab or Alt + A (Apply) and Alt + O (OK).
Please see the youtube video.
Also, the avatar is shrinked in the lockscreen, also visible in the video.

Reproducible: Always

Steps to Reproduce:
1. Set a user avatar with a high resolution.
2. Navigate to KMix > Settings > Audio Setup > Audio Hardware Setup
3. Observe an abnormal window size without being able to resize it or click the buttons.
Comment 1 rapar 2015-12-20 13:13:43 UTC
Changed the youtube link with a better one.
Comment 2 Artur Puzio 2015-12-20 22:07:41 UTC
I have fixed it in this review request: https://git.reviewboard.kde.org/r/126438/
Comment 3 David Edmundson 2015-12-23 21:52:40 UTC
Git commit 7a7f171cdd677c433b7c0966550badbfeb3d6b1e by David Edmundson, on behalf of Artur Puzio.
Committed on 23/12/2015 at 21:52.
Pushed by davidedmundson into branch 'Plasma/5.5'.

Fix bug 356946 - user avatar in Phonon isn't shrinked

As discribed in the bug report: when users has a avatar it's shown in
sound kcm in "Speaker Placement and Testing", but it's not resized.
(e.g. If it is a 1000x1000 image it takes 1000x1000px on screen.) This
simple patch forces maximum size of `KIconLoader::SizeHuge` what is the
same as default icon size.

Aspect ratio isn't preserved, but please note that in many other places
it's also assumed that avatar is a square.

REVIEW: 126438

M  +2    -0    kcms/phonon/audiosetup.cpp

http://commits.kde.org/plasma-desktop/7a7f171cdd677c433b7c0966550badbfeb3d6b1e