unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Darren Hoo <darren.hoo@gmail.com>
To: 13998@debbugs.gnu.org
Subject: bug#13998: 24.3.50; Tooltips got hidden by the dock on OSX
Date: Tue, 19 Mar 2013 18:29:09 +0800	[thread overview]
Message-ID: <CAJ+QY_FBUx=FH8JKm5HPBN7kH2jd8MAFQ8zUhHA1P1My=5fDyg@mail.gmail.com> (raw)

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





             reply	other threads:[~2013-03-19 10:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-19 10:29 Darren Hoo [this message]
2013-03-30 10:19 ` bug#13998: 24.3.50; Tooltips got hidden by the dock on OSX Jan Djärv

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAJ+QY_FBUx=FH8JKm5HPBN7kH2jd8MAFQ8zUhHA1P1My=5fDyg@mail.gmail.com' \
    --to=darren.hoo@gmail.com \
    --cc=13998@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).