Issue 9521 - Focus on number of copies field in print dialog
Summary: Focus on number of copies field in print dialog
Alias: None
Product: ui
Classification: Code
Component: ui (show other issues)
Version: 643C
Hardware: PC Windows 2000
: P3 Trivial with 6 votes (vote)
Target Milestone: OOo 2.4
Assignee: h.ilter
QA Contact: issues@ui
Depends on:
Reported: 2002-11-25 18:47 UTC by ezh
Modified: 2008-02-13 12:37 UTC (History)
4 users (show)

See Also:
Latest Confirmation in: ---
Developer Difficulty: ---

Proposed patch (391 bytes, patch)
2007-08-25 16:03 UTC, rail_ooo
no flags Details | Diff
Testcase spezification of the default focus at the print dialog (2.92 KB, text/html)
2007-09-26 15:13 UTC, h.ilter
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description ezh 2002-11-25 18:47:39 UTC
If I press CTRL-P 

a) in Word the focus is on the number of copies I would like to print
b) in OOo I must 4 times press TAB for getting the focus to number of copies I
would like to print. This is very annoing since I need in 95% of cases 2 copies.
Comment 1 Frank Schönheit 2002-12-12 15:04:36 UTC
changing type to ENHANCEMENT, assigning to UE
Comment 2 ezh 2003-02-28 10:30:29 UTC
Could this be done before 1.1 Final, please?
Comment 3 Frank Schönheit 2003-03-06 13:26:42 UTC
> in OOo I must 4 times press TAB for getting the focus to number of
> copies

Every considered using Alt-C to activate this field? :)

> since I need in 95% of cases 2 copies

just a general remark: such changes are difficult to decide, because
you need to fit the expectations of the majority of users, and this
majority is always difficult to determine ....
Comment 4 ezh 2003-03-06 22:57:03 UTC
At least it is a standart behavior of Word (de-facto a standart for
now)... 95% of peaple are used to this behavior.
Comment 5 Frank Schönheit 2003-04-04 11:40:36 UTC
confirming at least as a valid RFE
Comment 6 ezh 2003-04-10 13:45:07 UTC
Will it make into 1.1?
Comment 7 Frank Schönheit 2003-04-16 13:51:25 UTC
most probably not anymore
Comment 8 kpalagin 2007-05-30 20:56:29 UTC
Dear developers,
any chance for this trivial issue to be fixed?
Comment 9 maddox2 2007-07-08 10:30:22 UTC
I vote for this change too, as it makes no sense to have the focus on the
printer selection droplist.

Changing the printer will unlikely be done by keyboard but by mouse. And for
selecting the printer by mouse the initial focus on this control is not important.
Its much more user friendly for heavy keyboard user to simply type in the amount
of copies and simply press enter to start printing instead to press Crtl + C first

Comment 10 rail_ooo 2007-08-25 16:01:24 UTC
Attached is a patch against OOG680_m2. Please review.
There is no check for "number of copies" field length because it's always 1 by
default AFAIK.

Issue type is changed to PATCH.
Comment 11 rail_ooo 2007-08-25 16:03:18 UTC
Created attachment 47785 [details]
Proposed patch
Comment 12 rail_ooo 2007-08-25 16:06:47 UTC
maNumCopies.SetZOrder(0, WINDOW_ZORDER_FIRST);
may be changed to 

Not sure which method is preferable...
Comment 13 Mathias_Bauer 2007-09-06 20:52:09 UTC
Seems that this issue got lost somehow. Thanks for the patch.
Philipp, are you the right one to have a look?

Besides that I agree that having the focus on "number of copies" is a much more
logical choice. Looking around all controls it even seems to be the best.
Comment 14 philipp.lohmann 2007-09-07 08:59:26 UTC
will do. GrabFocus would work, the other, too, as a side effect (ZOrder is
actually to my knowledge intended to influence the paint order). The usual tab
order and activation of the first control depends on the declaration in the
corresponding header file, so changing that order should work, too. I'll change
this in CWS vcl82.
Comment 15 philipp.lohmann 2007-09-07 11:39:55 UTC
using GrabFocus now to set the initial focus.

fixed in CWS vcl82
Comment 16 philipp.lohmann 2007-09-10 10:29:16 UTC
please verify in CWS vcl82
Comment 17 h.ilter 2007-09-14 09:27:13 UTC
Verified with cws vcl82 = ok
Comment 18 h.ilter 2007-09-26 15:13:42 UTC
Created attachment 48515 [details]
Testcase spezification of the default focus at the print dialog
Comment 19 rail_ooo 2007-09-26 15:38:00 UTC
I suggest to set selection on number of copies. In this case you don't need to
select or delete the number, just Ctrl+P, type any number, Enter instead of
Ctrl+P, Shift+Right Arrow (or Del), type any number, Enter.
Comment 20 h.ilter 2008-02-13 12:37:32 UTC
Still ok in OOH680m6_9268