Bug 214972 - Print dialog display bug
Summary: Print dialog display bug
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: gtk2
Version: 6
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Matthias Clasen
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-11-10 12:01 UTC by Tim Waugh
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2006-12-06 15:18:56 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
gtk+-2.10.4-collate.patch (933 bytes, patch)
2006-12-06 14:18 UTC, Tim Waugh
no flags Details | Diff

Description Tim Waugh 2006-11-10 12:01:03 UTC
Description of problem:
In OpenOffice.org, adjusting the number of copies by typing in a number does not
allow me to adjust the 'Collate' checkbox until I focus on another widget.

Version-Release number of selected component (if applicable):
openoffice.org-core-2.0.4-5.3
gtk2-2.10.4-4.fc6

How reproducible:
100%

Steps to Reproduce:
1.Start oowriter
2.File->Print
3.Alt-S to select the 'Copies' type-in
4.Type '5'

Actual results:
'Collate' checkbox remains insensitive.

Expected results:
'Collate' checkbox should become sensitive.

Comment 1 Tim Waugh 2006-11-10 17:11:42 UTC
Actually it occurs to me that this is more likely an OpenOffice.org bug..

Comment 2 Caolan McNamara 2006-11-10 17:53:13 UTC
Nah, evince is the other app using the new dialog, you can see it shares the
same behaviour (along with a max of 100 copies)

Comment 3 Matthias Clasen 2006-12-02 03:06:44 UTC
This is an artifact of the way editable spin buttons work in gtk. 
The value is not actually changed until you press enter. Alternatively,
you can use up and down arrows to change the value.

Comment 4 Tim Waugh 2006-12-02 10:46:17 UTC
Why can't the 'changed' signal be used?  Works fine here in a little test app.

Seriously, if I want 50 copies (or 500, or whatever), there's no way I'm going
to use the arrows instead of typing in the number just to work around this bug.
 And pressing enter?  How do I know it's not going to activate the 'Print'
button?  I don't, so that's no good either.

Comment 5 Tim Waugh 2006-12-06 14:18:01 UTC
Created attachment 142952 [details]
gtk+-2.10.4-collate.patch

This patch works fine here.

Comment 6 Matthias Clasen 2006-12-06 15:18:56 UTC
I've committed a slightly different patch upstream.
I'll do a new release sometime and pull it in FC6/FC7 then.

Comment 7 Tim Waugh 2006-12-06 15:37:13 UTC
Thanks!


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