Bug 386656 - [Feature request] Circular avatar
Summary: [Feature request] Circular avatar
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Application Launcher (Kickoff) (show other bugs)
Version: master
Platform: Chakra Linux
: HI wishlist
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords:
: 388943 394162 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-11-08 18:19 UTC by Víctor
Modified: 2019-11-29 15:40 UTC (History)
8 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.18.0
kde: VisualDesign+


Attachments
I have done a raw mock up shown a circular avatar in the Application launcher. (188.77 KB, image/png)
2017-11-08 18:19 UTC, Víctor
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Víctor 2017-11-08 18:19:14 UTC
Created attachment 108750 [details]
I have done a raw mock up shown a circular avatar in the Application launcher.

Would be interesting an option to set picture avatar in circular mode or in rectangular mode, like in the screen lock or sddm login screen.
Comment 1 David Edmundson 2017-11-11 23:34:21 UTC
Fine with either. 
Tagging VDG. They can make a decision.
Comment 2 andreas 2017-11-12 00:20:50 UTC
As in most applications circle mean peopel/user/artist/contact/... I would say sure. from my point of view I had the problem that circle mean also that you remove a lot of content in difference to square, but as I wrote it's kind of standard to have humans in a circle.

e.g. at music player apps you have albums (square) and artists (circle). and there are a lot of other examples out there.
Comment 3 Andres Betts 2017-11-12 00:56:28 UTC
I like what I see, I think it is more pleasant than a squared avatar. I approve.
Comment 4 Jens Reuterberg 2017-11-12 09:54:23 UTC
Well a circle avatar is already possible. The dark avatars for example (konqi, penguin, zebra) are nothing but PNG images with transparency (done in GIMP iirc and you can do that now by placing a circle around whatever image you want and then cropping the image, saving it as a PNG with transparency (which creates a square image but with content only within the circle) and loading that from file).

I think removing the option to have both is not a good way to go - instead being able to set "round" or "square" may be relevant but that should be a technical decision as it's pushing demands for further options to the devs.
Comment 5 Nate Graham 2018-01-22 22:23:46 UTC
*** Bug 388943 has been marked as a duplicate of this bug. ***
Comment 6 Nate Graham 2018-01-22 22:26:34 UTC
I think the idea here is to automatically crop square images to a circle, which is what the Breeze themes for KScreenLocker and SDDM do. Right now there's an inconsistency, because Kickoff uses square avatars instead. We should decide on a single one (circle or square) and use that everywhere.

My vote is for a circle, FWIW.
Comment 7 Patrick Silva 2018-05-12 14:10:00 UTC
*** Bug 394162 has been marked as a duplicate of this bug. ***
Comment 8 Nate Graham 2018-07-23 16:25:02 UTC
Scott is working on this: https://phabricator.kde.org/D13415
Comment 9 Nate Graham 2019-06-11 14:07:17 UTC
That patch got stalled. I think anyone else who's interested in working on this can take it over or have a go at it.
Comment 10 Nate Graham 2019-11-29 15:40:54 UTC
Git commit 95047f61275e1b727542483726475c85f4145dca by Nate Graham.
Committed on 29/11/2019 at 15:40.
Pushed by ngraham into branch 'master'.

Reshape Kickoff avatar to a circle with Opacity Mask

Summary:
Crop the square user avatar into a circle with an outline, like in SDDM and
the lock screen.
FIXED-IN: 5.18.0

Test Plan:
- Use Kickoff
- Change/set avatar in User Manager
- See pretty circle-cropped avatar

{F7777572, size=full}

Reviewers: sharvey, #vdg, #plasma, mart

Reviewed By: #vdg, #plasma, mart

Subscribers: filipf, sefaeyeoglu, hein, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D13415

M  +26   -0    applets/kickoff/package/contents/ui/Header.qml

https://commits.kde.org/plasma-desktop/95047f61275e1b727542483726475c85f4145dca