As seen in the image; the 2nd entry exceeds the UI container and past the battery icon too.
What should happen
A few ways I can see to have this shown instead.
Have it truncate the end part.
Extend the container size.
Have the text move; similar to the media title view.
Steps to reproduce
1. Connecting any device that has a long name.
2. View battery/power module by hovering cursor over module.
OS
Artix
Other OS (if "Other" above)
No response
Init system
non-systemd (openrc / runit / s6 / ...)
Other init system (if "non-systemd" above)
openrc
Qt version
6.11.2
Branch / commit
main
Logs / backtrace / screenshots
No response
Found a workaround?
No response
### What happened
<img width="231" alt="image.png" src="attachments/95c06273-f382-4a72-b39e-c9aaf3dc3dc5">
As seen in the image; the 2nd entry exceeds the UI container and past the battery icon too.
### What should happen
A few ways I can see to have this shown instead.
1. Have it truncate the end part.
2. Extend the container size.
3. Have the text move; similar to the media title view.
### Steps to reproduce
```shell
1. Connecting any device that has a long name.
2. View battery/power module by hovering cursor over module.
```
### OS
Artix
### Other OS (if "Other" above)
_No response_
### Init system
non-systemd (openrc / runit / s6 / ...)
### Other init system (if "non-systemd" above)
openrc
### Qt version
6.11.2
### Branch / commit
main
### Logs / backtrace / screenshots
_No response_
### Found a workaround?
_No response_
Hmm. Since the popout is largely sized for the power mode swapper rather than the devices, I'll probably make the text elide if its name is too long to fit within the view. I don't have a device that has a name long enough for this so I can't test myself, but I'll push a patch that should fix it.
Hmm. Since the popout is largely sized for the power mode swapper rather than the devices, I'll probably make the text elide if its name is too long to fit within the view. I don't have a device that has a name long enough for this so I can't test myself, but I'll push a patch that should fix it.
Yeah I did manage to test it myself, but I also accidentally left the test code in when I pushed yesterday. That's fixed now though, so I'll close this issue.
Yeah I did manage to test it myself, but I also accidentally left the test code in when I pushed yesterday. That's fixed now though, so I'll close this issue.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
What happened
As seen in the image; the 2nd entry exceeds the UI container and past the battery icon too.
What should happen
A few ways I can see to have this shown instead.
Steps to reproduce
OS
Artix
Other OS (if "Other" above)
No response
Init system
non-systemd (openrc / runit / s6 / ...)
Other init system (if "non-systemd" above)
openrc
Qt version
6.11.2
Branch / commit
main
Logs / backtrace / screenshots
No response
Found a workaround?
No response
Hmm. Since the popout is largely sized for the power mode swapper rather than the devices, I'll probably make the text elide if its name is too long to fit within the view. I don't have a device that has a name long enough for this so I can't test myself, but I'll push a patch that should fix it.
Could you not double print the same device name on the same line to check? I will check some time and report back.
Yeah I did manage to test it myself, but I also accidentally left the test code in when I pushed yesterday. That's fixed now though, so I'll close this issue.