applet-window-title
applet-window-title copied to clipboard
"First Letter Capital" setting can cause slight movement of elements in bars
Hello, love the plugin!
In current version 0.7.1, the "First letters capital" setting can cause a very tiny jitter in other components in
- When the "First letters capital setting is enabled,
- and when there is a letter present to capitalize.
An easy way to test this is to set a "Placeholder" with a lowercase first-letter, and then click between an app and the desktop to switch back and forth - you can then see the elements move a tiny amount in this situation.
I believe that when the title being displayed is changing, the widget is:
- Loading in the new title
- Calculating the size of the widget
- Then correcting the capitalization of the title, which then changes the title size and causes other elements in the bar to move slightly
I think it's probably meant to instead:
- Load in the new title
- Correct the capitalization of the title
- Calculate the size of the widget after the correction and pass it along
Thanks again!