After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 117193 - " Number of copies", "Width", "Height" in print dialog accepts alphanumeric data
" Number of copies", "Width", "Height" in print dialog accepts alphanumeric ...
Status: RESOLVED FIXED
Product: gnome-print
Classification: Deprecated
Component: general
0.20
Other All
: Normal minor
: ---
Assigned To: Chema Celorio
Chema Celorio
Depends on:
Blocks:
 
 
Reported: 2003-07-11 10:33 UTC by Pasupathi
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
proposed patch (3.28 KB, patch)
2003-07-11 10:38 UTC, Pasupathi
none Details | Review
updated patch (4.80 KB, patch)
2003-07-17 15:22 UTC, Pasupathi
none Details | Review

Description Pasupathi 2003-07-11 10:33:01 UTC
Steps to reproduce:
1. Open a 5-6 page document in gedit
2. Select File-> Print
3. Enter some alphanumeric characters in the edit box for "Number of 
copies" field

Result: The editbox accepts alphanumeric character when only numeric 
values are valid for this field. The page numer is set back to 1 when 
"enter" key is pressed.

Expected Result: The edit box should not let the user enter any 
non-numeric value.

Similarly "Width" and "Height" in paper tab accepts non-numeric inputs.
Comment 1 Pasupathi 2003-07-11 10:36:02 UTC
s/Page Number/Number of copies in summary.
Comment 2 Pasupathi 2003-07-11 10:38:13 UTC
Created attachment 18207 [details] [review]
proposed patch
Comment 3 Pasupathi 2003-07-17 15:21:30 UTC
In Jobs page two more spin button "Pages _From <> to <>" accepts non-
numeric value. 

This option is seen when you create print dialog with  
GNOME_PRINT_RANGE_ALL | GNOME_PRINT_RANGE_RANGE option. 

Eg. Ghex->File->Print


Hence uploading a new patch which fixes this problem also.

Comment 4 Pasupathi 2003-07-17 15:22:07 UTC
Created attachment 18380 [details] [review]
updated patch
Comment 5 Pasupathi 2003-08-17 12:54:53 UTC
Chema: Pls. let me know if I can commit this patch?
Comment 6 Jody Goldberg 2003-10-06 23:24:46 UTC
This patch looks reasonable.  Lets get it applied to HEAD only.  Although its
safe enough for gnome-2.4 I'd rather not change UI retroactively.
Comment 7 Muktha 2003-10-07 14:06:09 UTC
Applied the patch to HEAD. Marking the bug as fixed.