Weather information cut off because of the position

Bug #135482 reported by Raúl González Duque
6
Affects Status Importance Assigned to Milestone
Weather wallpaper
Fix Released
Low
Raúl González Duque

Bug Description

The weather information goes to the bottom left corner by default. Depending on the size of the toolbars and such some info may be cut off

Changed in weather-wallpaper:
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Nate Walker (kiwinewt) wrote :

Does this depend on the current screen size, as I have seen that you have fixed the resolution at:
width = 1280
height = 800

Changing mine to the correct size for my screen allowed me to have the wallpaper fill the whole screen and the weather information appear in the correct place in the bottom right. Mine reads as:
width = 1680
height = 1050

Could this be pulled from a config file in X/Gnome/KDE?

Revision history for this message
Raúl González Duque (zootropo) wrote :

There's no need to read it from the config file as the new version will get the screen dimensions thanks to gtk.

screen = gtk.gdk.display_get_default().get_default_screen()
screen_size = screen.get_monitor_geometry(0)
width = screen_size.width
height = screen_size.height

But I want to add an x_offset and y_offset option so that you can move the text around and position it wherever you want if for some reason the default one doesn't fit your needs.

Changed in weather-wallpaper:
assignee: nobody → zootropo
Changed in weather-wallpaper:
status: Confirmed → Fix Committed
Changed in weather-wallpaper:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.