Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Profile image option in settings does not work #247

Closed
fib-nm opened this issue Sep 11, 2024 · 4 comments · Fixed by #347
Closed

Profile image option in settings does not work #247

fib-nm opened this issue Sep 11, 2024 · 4 comments · Fixed by #347

Comments

@fib-nm
Copy link

fib-nm commented Sep 11, 2024

Describe the bug
Changing my profile image in settings does not do anything. The default image stays and after reboot, chosen image is removed from 'Profile Image' tab.

To Reproduce
Choose any image in Settings in Configuration/Dashboard Menu/Profile Image.
Reboot to get chosen image deleted from settings tab.

Expected behavior
Expected profile image to change immediately after choosing an image in settings.

Screenshots
First 2 images show default image staying the same despite changing it in settings.
Last image shows image getting deleted after rebooting.
sh1
sh2
sh3

Desktop (please complete the following information):

Hyprland, built from branch at commit 0f594732b063a90d44df8c5d402d658f27471dfe (props: bump version to 0.43.0).
Date: Sun Sep 8 16:48:21 2024
Tag: v0.43.0, commits: 5196

flags: (if any)

System Information:
System name: Linux
Node name: archlaptop
Release: 6.10.8-arch1-1
Version: #1 SMP PREEMPT_DYNAMIC Wed, 04 Sep 2024 15:16:37 +0000

GPU information:
00:02.0 VGA compatible controller [0300]: Intel Corporation CometLake-H GT2 [UHD Graphics] [8086:9bc4] (rev 05) (prog-if 00 [VGA controller])
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GA106M [GeForce RTX 3060 Mobile / Max-Q] [10de:2520] (rev a1) (prog-if 00 [VGA controller])

Additional context

@Jas-SinghFSU
Copy link
Owner

This is odd because I just tested it and it worked for me.

Could you:

  1. Send me your image that fails to apply?
  2. Try a different image and see if it works?

@Jas-SinghFSU
Copy link
Owner

Jas-SinghFSU commented Sep 11, 2024

Forgot to mention that the image isn't removed, it's just that the file name you see is the file picker component remembering the name of the file you just selected. That doesn't represent whether the image is saved into memory or not; it's a temporary display.

@fib-nm
Copy link
Author

fib-nm commented Sep 11, 2024

This is odd because I just tested it and it worked for me.

Could you:

1. Send me your image that fails to apply?

2. Try a different image and see if it works?

rei-blade-runner
dark moon

UPD 1: Also something wierd happened: I converted images to .png and tried to set them as profile images and it worked! But wierdly, only for rei one. Setting dark moon.png as profile image still resulted in default image.

UPD 2: I changed 'dark moon.png' to dark-moon.png and it worked. So I guess my problem is gone, but it seems that there are problems with names with spaces and jpg format.

UPD 3: Also it doesn't work with non english folder names. If I put images in folder with cyrillic letters, choosing them results in getting default image. Renaming the folder using english symbols fixes the problem.

@Jas-SinghFSU
Copy link
Owner

Ahhh, yep. That may be it. Let's leave the issue open and I can look into better name resolution.

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 a pull request may close this issue.

2 participants