Bug 107252 - gpk-update-viewer always opens full screen.
Summary: gpk-update-viewer always opens full screen.
Status: RESOLVED NOTABUG
Alias: None
Product: PackageKit
Classification: Unclassified
Component: client-library (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Richard Hughes
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-17 03:41 UTC by Yifan Jiang
Modified: 2018-08-21 15:52 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yifan Jiang 2018-07-17 03:41:13 UTC
There is a downstream bug opened for a potential enhancement that the gpk-update-viewer should not always launch a maximized window, especially on a large monitor (4K 65 inches monitor):

    https://bugzilla.opensuse.org/show_bug.cgi?id=1101056 

It looks the "-1" as a width intentionally passed to gpk_window_set_size_request makes the window running with "small form factor mode" in most of the cases:

https://github.com/GNOME/gnome-packagekit/commit/13674c362c6041264f016e62a998850de354e946

I am actually not 100% sure about what is the best way to handle here, especially for hi-dpi large screen. Perhaps there is a chance to make a choice of initial window size by checking practical screen size. Also, "Remember" the last closed size of gpk-update-viewer might be a candidate choice as well.
Comment 1 Richard Hughes 2018-08-21 15:52:57 UTC
We moved the upstream bugtracker to GitHub a long time ago. If this issue still affects you please re-create the issue here: https://github.com/hughsie/PackageKit/issues
 
Sorry for the impersonal message, and fingers crossed your issue no longer happens. Thanks.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.