[api-issues] [Issue 97494] XTopWindow.toFront does no t always move the window to the front

2009-06-08 Thread mba
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=97494


User mba changed the following:

What|Old value |New value

  CC|''|'mba'





--- Additional comments from m...@openoffice.org Mon Jun  8 09:57:54 + 
2009 ---
I assume that the reason is that we don't allow to steal the focus here. So
only when an OOo window already has the focus, toFront() will work. It is indeed
questionable whether this is an exaggeration. If we change it we have to test
how this influences the focus behavior of OOo wrt. opening new top level 
windows.


-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: issues-unsubscr...@api.openoffice.org
For additional commands, e-mail: issues-h...@api.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[api-issues] [Issue 97494] XTopWindow.toFront does no t always move the window to the front

2009-01-05 Thread jsc
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=97494


User jsc changed the following:

What|Old value |New value

 Assigned to|jsc   |cd





--- Additional comments from j...@openoffice.org Mon Jan  5 09:25:07 + 
2009 ---
jsc - cd: a toolkit issue. I am not sure but i assume it's more a VCL issue.   

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: issues-unsubscr...@api.openoffice.org
For additional commands, e-mail: issues-h...@api.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[api-issues] [Issue 97494] XTopWindow.toFront does no t always move the window to the front

2008-12-22 Thread dwatkins
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=97494
 Issue #|97494
 Summary|XTopWindow.toFront does not always move the window to 
|the front
   Component|api
 Version|OOO300m9
Platform|Unknown
 URL|
  OS/Version|All
  Status|UNCONFIRMED
   Status whiteboard|
Keywords|
  Resolution|
  Issue type|DEFECT
Priority|P3
Subcomponent|code
 Assigned to|jsc
 Reported by|dwatkins





--- Additional comments from dwatk...@openoffice.org Mon Dec 22 13:47:19 
+ 2008 ---
If the XTopWindow doesn't have focus when the toFront() call is made, then it
won't move at all.  I would expect the toFront() call to send the window to the
front whenever it is called.

When calling XTopWindow.toFront, the API code calls Window::ToTop[0] which calls
Window::ImplStartToTop[1] which in turn calls Window::ImplToTop[2].

Window::ImplToTop includes the following check:
  if ( !mpWindowImpl-mpFrameData-mbHasFocus 
   !mpWindowImpl-mpFrameData-mbSysObjFocus 
   !mpWindowImpl-mpFrameData-mbInSysObjFocusHdl 
   !mpWindowImpl-mpFrameData-mbInSysObjToTopHdl )

If this check is false, then the call is just ignored.  Commenting out the first
line of this check causes the issue to go away (and is what we've had to do, as
we need this API call to work).

There should probably be something like a TOTOP_IREALLYMEANIT flag (or perhaps
TOTOP_IGNOREFOCUS would be more appropriate) which the API call could pass
through which would bypass the above check.


[Footnote 0:
http://svn.services.openoffice.org/opengrok/xref/Current/vcl/source/window/window.cxx#6958]
[Footnote 1:
http://svn.services.openoffice.org/opengrok/xref/Current/vcl/source/window/window.cxx#ImplStartToTop]
[Footnote 2:
http://svn.services.openoffice.org/opengrok/xref/Current/vcl/source/window/window.cxx#ImplToTop]

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: issues-unsubscr...@api.openoffice.org
For additional commands, e-mail: issues-h...@api.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org