GNU bug report logs - #13998
24.3.50; Tooltips got hidden by the dock on OSX

Previous Next

Packages: emacs, ns;

Reported by: Darren Hoo <darren.hoo <at> gmail.com>

Date: Tue, 19 Mar 2013 10:31:01 UTC

Severity: normal

Tags: patch

Found in version 24.3.50

Done: Jan Djärv <jan.h.d <at> swipnet.se>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Darren Hoo <darren.hoo <at> gmail.com>
Subject: bug#13998: closed (Re: bug#13998: 24.3.50; Tooltips got hidden by
 the dock on OSX)
Date: Sat, 30 Mar 2013 10:23:01 +0000
[Message part 1 (text/plain, inline)]
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 13998 <at> debbugs.gnu.org.

-- 
13998: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=13998
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Jan Djärv <jan.h.d <at> swipnet.se>
To: Darren Hoo <darren.hoo <at> gmail.com>
Cc: 13998-done <at> debbugs.gnu.org
Subject: Re: bug#13998: 24.3.50; Tooltips got hidden by the dock on OSX
Date: Sat, 30 Mar 2013 11:19:35 +0100
Thanks, this has been checked in in the trunk.

	Jan D.

19 mar 2013 kl. 11:29 skrev Darren Hoo <darren.hoo <at> 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
> 
> 


[Message part 3 (message/rfc822, inline)]
From: Darren Hoo <darren.hoo <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.3.50; Tooltips got hidden by the dock on OSX
Date: Tue, 19 Mar 2013 18:29:09 +0800
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



This bug report was last modified 12 years and 60 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.