! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Doesn't adjust window size for long weather report
Status:
RESOLVED: MOVED
Product:
Xfce4-weather-plugin
Component:
General

Comments

Description José Luis González 2016-06-01 19:25:06 CEST
Created attachment 6687 
Screenshot of the problem

When weather report is larger than default setting (for instance, with 8 days in columns), window size isn't adjusted to fit the whole report. Instead the report is clipped on the right side and scrolling must be performed unless the user adjusts window size.

I understand with GTK+ containers it is trivial to make the window fit the whole report if the window fits in the screen.
Comment 1 Harald Judt editbugs 2016-06-02 12:52:55 CEST
Looking at the code, it is limited to show only one week at a glance. Weather reports for more than 3 days are not very accurate btw. I do not remember my previous decision-making, but maybe I found it looked ugly when the window width becomes bigger. Also, one needs to account for the panel size (deskbar/vertical mode), and people will surely use different panel-sizes in those modes, which complicates things. While this auto-sizing works for most people, seemingly it does not satisfy everyone. One solution would be to remember the window size and restore it, but someone has yet to implement this.
Comment 2 José Luis González 2016-06-02 13:26:12 CEST
Yes, that would be a good solution.

Another option is a preference on whether user wants auto-fit or not. I would set it by default to on, but if you think different it can be also to off by default as long as there is an option.

And, BTW, one thing doesn't exclude the other. There may be an option and window size be saved as well.
Comment 3 Git Bot editbugs 2020-05-23 01:07:39 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/panel-plugins/xfce4-weather-plugin/-/issues/3.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #12611

Reported by:
José Luis González
Reported on: 2016-06-01
Last modified on: 2020-05-23

People

Assignee:
Harald Judt
CC List:
1 user

Version

Attachments

Screenshot of the problem (134.52 KB, image/png)
2016-06-01 19:25 CEST , José Luis González
no flags

Additional information