Issue 74743 - aquavcl01: main menubar not available in some cases
Summary: aquavcl01: main menubar not available in some cases
Status: CLOSED FIXED
Alias: None
Product: porting
Classification: Code
Component: MacOSX (show other issues)
Version: OOo 2.2
Hardware: All Mac OS X, all
: P3 Trivial (vote)
Target Milestone: OOo 2.3
Assignee: pavel
QA Contact: issues@porting
URL:
Keywords: aqua
Depends on:
Blocks:
 
Reported: 2007-02-21 18:01 UTC by eric.bachard
Modified: 2007-07-09 22:37 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description eric.bachard 2007-02-21 18:01:42 UTC
Issue found on m202 + aquavcl01 / Mac Intel , Mac OS 10.4.8 

Open a  Writer, or Calc sheet 

When you click on the main window, the main menubar must give you the menu
corresponding to the open window : 
e. g. when a Writer sheet is open, Writer menus must be available.
File , Edition, .... Tools, Window and Help 

Sometimes, it does not work, and click in the main area does not help.

Workaround :  open a parent window, like Help, or Print .. or Serch and Replace
, and close it.
=> a new click in the previous window, and the main menu will appear again.

Looks like some parenting context ( or the focus ?) is lost doing some actions.

Searching a bit, I found use native (or not)  listboxes/comboboxes triggers the
issues, and is fully repeatable. Maybe other action can cause the same issue.
Comment 1 eric.bachard 2007-02-21 18:04:01 UTC
setting keyword
Comment 2 pavel 2007-02-21 18:30:18 UTC
Yes, confirmed.

Thanks for filing an issue for me. Will work on it.
Comment 3 ismaelooo 2007-02-22 10:13:06 UTC
I encountered this issue too.
When we open a contextual menu (by a right click), the top menu disappears, and
the only way to make it reappear is to do what ericb said.

Maybe a problem of parenting window/menu.
Comment 4 eric.bachard 2007-02-22 20:07:31 UTC
After more tests, it does appear the issue is caused any time we click either on
comboboxes ( font list/names/sizes) or any free place  in the toolbar area.

The concerned area, "tolbar area" means the rectangle containing the two
toolbars ( seen as toolbars with CTRL_SOMETHING .. )

Just an idea : 
I have tried to see if all native controls can cause that, but the scrollbar is
not concerned. Maybe because we use ScrollbarValue class ? ( more close to vcl).
I'll try to use ToolbarValue class as well for for toolbars.

Looks like some information is lost once we click, and create a new parent
window seems to be the only solution to retrieve the menus.



Comment 5 eric.bachard 2007-05-16 15:44:15 UTC
This issue is fixed and is probably a dupe of the issue 77317 Michael Sicotte fixed for menus )
Comment 6 pavel 2007-06-24 10:59:30 UTC
yes, verified.
Comment 7 pavel 2007-06-28 09:50:16 UTC
issue added to aquavcl01.
Comment 8 eric.bachard 2007-07-09 22:37:59 UTC
Still ok with SRC680_m220

Closing