Subject: bug#13998: closed (Re: bug#13998: 24.3.50; Tooltips got hidden by the dock on OSX)

From: [email-masked] (GNU bug Tracking System)
Date: Sat, 30 Mar 2013 10:23:01 +0000

Your bug report

#13998: 24.3.50; Tooltips got hidden by the dock on OSX

which was filed against the emacs,ns package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
13998: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=13998
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#13998: 24.3.50; Tooltips got hidden by the dock on OSX
From: Jan Djärv <[email-masked]>
To: Darren Hoo <[email-masked]>
Cc: [email-masked]
Date: Sat, 30 Mar 2013 11:19:35 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Thanks, this has been checked in in the trunk.

	Jan D.

19 mar 2013 kl. 11:29 skrev Darren Hoo <[email-masked]>:

> This is just a minor nuisance.
> 
> put mouse over the mode line, when the tooltip window
> pops up, it is hidden by the dock sometimes
> 
> I think the tooltip window should be drawn at least at level
> NSPopUpMenuWindowLevel so it can be shown over the
> dock.
> 
> diff --git a/src/nsmenu.m b/src/nsmenu.m
> index 22ff4dd..e026b49 100644
> --- a/src/nsmenu.m
> +++ b/src/nsmenu.m
> @@ -1300,6 +1300,7 @@ update_frame_tool_bar (FRAME_PTR f)
>   wr.size = [textField frame].size;
> 
>   [win setFrame: wr display: YES];
> +  [win setLevel: NSPopUpMenuWindowLevel];
>   [win orderFront: self];
>   [win display];
>   timer = [NSTimer scheduledTimerWithTimeInterval: (float)seconds target: self
> 
> 

Subject: 24.3.50; Tooltips got hidden by the dock on OSX
From: Darren Hoo <[email-masked]>
To: [email-masked]
Date: Tue, 19 Mar 2013 18:29:09 +0800
List-Id: <debbugs-submit.debbugs.gnu.org>

This is just a minor nuisance.

put mouse over the mode line, when the tooltip window
pops up, it is hidden by the dock sometimes

I think the tooltip window should be drawn at least at level
NSPopUpMenuWindowLevel so it can be shown over the
dock.

diff --git a/src/nsmenu.m b/src/nsmenu.m
index 22ff4dd..e026b49 100644
--- a/src/nsmenu.m
+++ b/src/nsmenu.m
@@ -1300,6 +1300,7 @@ update_frame_tool_bar (FRAME_PTR f)
   wr.size = [textField frame].size;

   [win setFrame: wr display: YES];
+  [win setLevel: NSPopUpMenuWindowLevel];
   [win orderFront: self];
   [win display];
   timer = [NSTimer scheduledTimerWithTimeInterval: (float)seconds target: self