FelixdelasPozas / TrayWeather

Tray Weather is a simple application to retrieve and show weather information for a given geographic location in a small dialog and in the Windows OS system tray.
GNU General Public License v3.0
190 stars 22 forks source link

Add option to include degree symbol and scale beside temperature #145

Open jonlandrum opened 1 year ago

jonlandrum commented 1 year ago

Currently, the tool displays the temperature as an integer in the system tray. It would be easier to distinguish this integer as the current temperature and not a different value being displayed by a different program if there was an option to include the degree symbol and temperature scale abbreviation.

emvaized commented 1 year ago

It would be great, I would love to sacrifice a bit of font size in order to get degree symbol to show — however, the difference probably would be huge

FelixdelasPozas commented 1 year ago

Hi @jonlandrum and @emvaized .

That topic was already discussed previously. The real problem is that the area for a tray icon is really small. The application already tries to scale the value to fill all available area, and adding more characters that don't really add meaning (you already know that it's a temperature and the units used) will make the text very small and really unreadable.

Regards, Félix

emvaized commented 1 year ago

@FelixdelasPozas Thanks for response. Yeah, it makes total sense.

I wonder though if it's possible for TrayWeather to utilize bigger area by showing small always-on-top borderless window over taskbar, like TrafficMonitor does?

This way it could also get some space for text descriptions like in Windows 10 default weather widget.

jasonbassford commented 6 days ago

I, too, would prefer to see the degree symbol. I don't agree that adding symbols adds no meaning. It helps distinguish the fact that it's a temperature being displayed from it just being a random number that's displayed. It prevents a fractional amount of mental parsing as you remember what it represents.

(And in the situation originally described—although it doesn't apply to me—this is particularly relevant if you are trying to distinguish between two integers based purely on font face, colour, or tray position.)

I currently have the icon size set to 80%—I find 100% to be too large. Even with the difference in width between 00 and 00°, I should still be able to see the text at the same size by increasing the icon size up towards 100% once the ° is added.

Unless I'm mistaken about how this works, the "space" issue is only a possible problem if you use a 100% icon size for the number alone.

But since there is already an option to adjust the icon size between 50% and 100%, there seems to be an implicit understanding that some people do want to see smaller text anyway. If there's a personal assumption that adding the degree symbol would make the number too small, why is there an option to set the icon size to 50% in the first place—since that's even more of a change?

Note: I'm only talking about the degree symbol here, not about the scale as well.

FelixdelasPozas commented 3 days ago

To add a degree symbol costs next to nothing, so I'll try to add it to the next release. But not the unit symbol tough. I don't know when that will be, right now I'm refactoring to add the concept of "weather providers" to be able to change from OWM to other weather provider easily and handle missing features.