Ticket #14734 (confirmed defect)

Opened 8 months ago

Last modified 7 months ago

OS X Cocoa: help is displayed under modal dialogs

Reported by: fsenore Owned by:
Priority: normal Milestone: 3.0
Component: wxOSX-Cocoa Version:
Keywords: help z-order Cc:
Blocked By: Patch: no
Blocking:

Description

Testing the Cocoa port I discovered that if a modal dialog shows help the help window is displayed under the dialog and there is no way to have it in the foreground. Of course this makes help pages almost useless.

I have added a patch to the html/help sample to reproduce the problem.
Run htmlhelp.app and select the "File/Show modal dialog" menu: it will show a small modal dialog (I have grafted it from another sample so it looks really bad).
Press any button to show an empty help window: the dialog remains in front of the help window.

Attachments

cocoa_help_zorder.patch download (3.0 KB) - added by fsenore 8 months ago.

Change History

Changed 8 months ago by fsenore

  Changed 7 months ago by vadz

  • milestone set to 3.0

follow-up: ↓ 3   Changed 7 months ago by johnr

  • status changed from new to confirmed

FWIW it is ok with ShowWindowModal() but is a problem with ShowModal().

in reply to: ↑ 2 ; follow-up: ↓ 4   Changed 7 months ago by johnr

Replying to johnr:
This now shows on top of a ShowModal() dialog thank you very much.
Only problem is that the close/min/max gadgets on the html help window are disabled so the window can't be closed.

in reply to: ↑ 3   Changed 7 months ago by johnr

Replying to johnr:

Replying to johnr:
This now shows on top of a ShowModal() dialog thank you very much.

I rather sheepishly don't know what happened there but after a rebuild html help doesn't show on top anymore.

Note: See TracTickets for help on using tickets.