Bug 107252

Summary: gpk-update-viewer always opens full screen.
Product: PackageKit Reporter: Yifan Jiang <yifanj2007>
Component: client-libraryAssignee: Richard Hughes <richard>
Status: RESOLVED NOTABUG QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

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.