Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 467987 - "Add/Remove Software" window is either maximized or tiny, and not resizeable
Summary: "Add/Remove Software" window is either maximized or tiny, and not resizeable
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-packagekit
Version: rawhide
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Robin Norwood
QA Contact: Fedora Extras Quality Assurance
Depends On:
Blocks: F10DesktopTarget
TreeView+ depends on / blocked
Reported: 2008-10-22 05:32 UTC by sangu
Modified: 2018-04-11 13:17 UTC (History)
7 users (show)

Fixed In Version: 0.3.9-4
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2008-10-28 05:06:45 UTC

Attachments (Terms of Use)
window size is too small. (deleted)
2008-10-22 05:32 UTC, sangu
no flags Details
gpk-application --verbose log (deleted)
2008-10-27 18:25 UTC, Matthias Clasen
no flags Details

Description sangu 2008-10-22 05:32:17 UTC
Created attachment 321113 [details]
window size is too small.

Description of problem:
gpk-application window size is unusable(too small) and unchangeable.
size is 311x220.

$ xwininfo 

xwininfo: Please select the window about which you
          would like information by clicking the
          mouse in that window.

xwininfo: Window id: 0x5600004 "Add/Remove Software"

  Absolute upper-left X:  776
  Absolute upper-left Y:  511
  Relative upper-left X:  776
  Relative upper-left Y:  511
  Width: 311
  Height: 220

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Launch Add/Remove Software
Actual results:

Expected results:

Additional info:

Comment 1 Will Woods 2008-10-23 18:55:26 UTC
On most systems it's maximized - still unchangeable though. Dragging the maximized window causes it to become tiny-size.

Comment 2 Richard Hughes 2008-10-24 09:33:49 UTC
Building a fix for rawhide now:

If this fails to fix the problem, please re-open this bug. Thanks.

Comment 3 sangu 2008-10-24 14:03:24 UTC
Patch 1, 2 do not apply to gnome-packagekit.spec(0.3.8-2.fc10).
# Upstream: cc6ecacb62f66bbe4ce71f14583e108d6026b20f
Patch1:    gpk~fix-resize-small-form-factor.patch

# Upstream: 95e5c1d6c104ea395c3dde9da4a6c327c05ec378
Patch2:    gpk-untitled-window.patch

%setup -q
%patch0 -p1
#%patch1 -p1

Comment 4 Will Woods 2008-10-24 20:59:54 UTC
Actually applying the patches successfully *does* gpk-application resizeable, but it still starts out maximized. 

Hitting the "unmaximize" button makes it unusably tiny. And it doesn't remember its size or position between uses, so you have to Unmaximize+ Resize-to-usable-size the window every time.

Comment 5 Richard Hughes 2008-10-27 13:11:18 UTC
I think I've fixed this in rawhide -- can you please re-open if it still does not work? Thanks.

Comment 6 Will Woods 2008-10-27 17:23:32 UTC
gnome-packagekit-0.3.9-1.fc10.i386 still exhibits the behavior from comment #4 - gpk-application *is* resizeable now, but:

a) always starts maximized, and
b) when unmaximized, becomes unusably small.

Comment 7 Matthias Clasen 2008-10-27 18:25:22 UTC
Created attachment 321639 [details]
gpk-application --verbose log

The log shows gpk-application using 'small formfactor mode' on my 1920x1200 display...

Comment 8 Richard Hughes 2008-10-27 21:50:19 UTC
Ahh, I've patched 0.3.9-3 to fix the size request -- it was a stupid typo on my part, apologies. I didn't hit this as I run my setup in a double-wide screen.

This now works for me (tested on two machines) but please reopen if 0.3.9-3 doesn't completely fix things.

Comment 9 Will Woods 2008-10-27 22:12:06 UTC
Either I'm testing it wrong, or it's still not working.

[wwoods@metroid ~]$ gpk-application --version
[wwoods@metroid ~]$ rpm -q gnome-packagekit
[wwoods@metroid ~]$ gpk-application -v
TI:18:08:17	TH:0x955b3f0	FI:gpk-common.c	FN:gpk_window_set_size_request,55
 - using small form factor mode

My monitor's 1680x1050, for the record.

Comment 10 Jesse Keating 2008-10-27 22:37:39 UTC
I really don't think this is a preview blocker.  Moving over to F10Blocker.

Comment 11 Richard Hughes 2008-10-27 23:01:49 UTC
Thanks for testing this so fast Will -- apologies, I'm getting sleepy here:

* Mon Oct 27 2008 Richard Hughes  <> - 0.3.9-4
- Barr. Actually apply the patch. Sleep time.

Can you retry 0.3.9-4 please? Thanks.

Comment 12 Will Woods 2008-10-28 05:06:45 UTC
No apologies necessary - rumor has it you're only human. :)

0.3.9-4 works as expected. Closing.

Note You need to log in before you can comment on or make changes to this bug.