WayfireWM / WayfireWM/wf-shell
[wf-locker] All widget icon size parameters (*_icon_size) are broken and ignored
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 179
- Forks
- 55
- Avg merge
- 16d 1h
- Merged PRs (30d)
- 3
Description
Describe the bug
*_icon_size parameters in wf-locker do not scale icons for any widget. While *_font correctly resizes text, icons remain locked at their default ~1em size regardless of the set value.
Config section ([locker])
[locker]
background_image = true
hide_time = 5.0
hide_anim = 2
hide_anim_dur = 0.4
prewake = 1.0
lockout_attempts = 5
lockout_timer = 10
### PASSWORD ###
password_enable = true
password_position = center-center
password_always = true
password_font = 8em default # IGNORED
### NETWORK ###
network_enable = true
network_position = top-right
network_always = true
network_font = 48px sans-serif
network_icon_size = 5.0 # IGNORED
### CLOCK ###
clock_enable = true
clock_position = top-center
clock_always = true
clock_format = %H:%M%n<span font-size='xx-small'>%e %b %Y</span>
clock_font = 5em default
### WEATHER ###
weather_enable = true
weather_position = bottom-left
weather_always = true
weather_font = 5em default
weather_icon_size = 30.0 # NO ICON
### USER ###
user_enable = true
user_position = center-center
user_always = true
user_font = 7em default
user_icon_size = 4.0 # IGNORED
### MPRIS ###
mpris_enable = true
mpris_position = bottom-right
mpris_always = false
mpris_format = Now Playing:%n%track%n%album%n%artist
mpris_control = true
mpris_icon_size = 5.0
mpris_font = 1em default
### BATTERY ###
battery_enable = true
battery_position = top-left
battery_always = true
battery_status = full
battery_percent_font = 3em default
battery_description_font = 1em default
battery_icon_size = 3.0 # IGNORED
### VOLUME ###
volume_enable = true
volume_position = top-left
volume_always = false
volume_icon_size = 7.0 # IGNORED
### INSTANT UNLOCK ###
instant_unlock_enable = false
instant_unlock_position = bottom-center
instant_unlock_always = false
instant_unlock_font = default
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the wf-locker configuration handling and widget rendering paths for the *_icon_size parameters listed in the report. Compare those paths with the working *_font parameters across the network, weather, user, MPRIS, battery, and volume widgets. Done means each configured icon size visibly changes its corresponding widget icon, including the reported no-icon weather case where applicable.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100