Skip to content

Avatar UI Improvements#93

Open
Abscissa24 wants to merge 3 commits intoAxOS-project:mainfrom
Abscissa24:UI-Improvements
Open

Avatar UI Improvements#93
Abscissa24 wants to merge 3 commits intoAxOS-project:mainfrom
Abscissa24:UI-Improvements

Conversation

@Abscissa24
Copy link
Contributor

@Abscissa24 Abscissa24 commented Feb 24, 2026

Avatar UI Improvements

Summary

  • Replaced MaterialTextField with RippleButtonWithIcon.
  • Added RippleButtonWithIcon to compliment MaterialTextField.
  • Uses native polkit when changing SDDM profile picture.
  • Seemless integration that enhances user experience.

NEW Demo:

NEW.mp4

…rd avatar

Added file dialogs for selecting profile and avatar images, and updated related processes.
@LeVraiArdox LeVraiArdox changed the title UI Improvements Avatar UI Improvements Feb 24, 2026
@LeVraiArdox
Copy link
Member

I'm not a big fan of that ripple button style, it doesn't match the rest. Maybe keep the path but add a ripple button next to it in a row.

@Abscissa24
Copy link
Contributor Author

I'm not a big fan of that ripple button style, it doesn't match the rest. Maybe keep the path but add a ripple button next to it in a row.

Roger that

@Abscissa24
Copy link
Contributor Author

Abscissa24 commented Feb 24, 2026

@LeVraiArdox It is not possible to have the path shown/editable for the SDDM profile picture, like it is in Dashboard Avatar.

Since elevated privileges are required to execute the command of setting the SDDM profile, polkit will show as soon as the MaterialTextField is populated (onTextChanged). For some reason, this causes a system crash and immediate reboot. For simplicity sake, I have added a non-functional MaterialTextBox to allow for proper positioning of the ripple button. The button itself functions as intended and successfully launches polkit and sets the SDDM avatar. Dashboard Avatar works perfectly though, MaterialTextField editing and the button BOTH work and function as intended.

image image

EDIT: Please see new video demo in description

@LeVraiArdox
Copy link
Member

The lockscreen section is specific to the Sleex lockscreen, not SDDM. Make a "login screen" section where you put the avatar and then it will be good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants