unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#13998: 24.3.50; Tooltips got hidden by the dock on OSX
@ 2013-03-19 10:29 Darren Hoo
  2013-03-30 10:19 ` Jan Djärv
  0 siblings, 1 reply; 2+ messages in thread
From: Darren Hoo @ 2013-03-19 10:29 UTC (permalink / raw)
  To: 13998

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





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#13998: 24.3.50; Tooltips got hidden by the dock on OSX
  2013-03-19 10:29 bug#13998: 24.3.50; Tooltips got hidden by the dock on OSX Darren Hoo
@ 2013-03-30 10:19 ` Jan Djärv
  0 siblings, 0 replies; 2+ messages in thread
From: Jan Djärv @ 2013-03-30 10:19 UTC (permalink / raw)
  To: Darren Hoo; +Cc: 13998-done

Thanks, this has been checked in in the trunk.

	Jan D.

19 mar 2013 kl. 11:29 skrev Darren Hoo <darren.hoo@gmail.com>:

> 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
> 
> 






^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-03-30 10:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-19 10:29 bug#13998: 24.3.50; Tooltips got hidden by the dock on OSX Darren Hoo
2013-03-30 10:19 ` Jan Djärv

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).