GNU bug report logs - #24
Broken tooltips with dual-head on MS Windows

Previous Next

Package: emacs;

Reported by: Neil Roberts <bpeeluk <at> yahoo.co.uk>

Date: Fri, 29 Feb 2008 09:10:05 UTC

Severity: normal

Done: Jason Rumney <jasonr <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 24 in the body.
You can then email your comments to 24 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#24; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Neil Roberts <bpeeluk <at> yahoo.co.uk>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Neil Roberts <bpeeluk <at> yahoo.co.uk>
To: bug-gnu-emacs <at> gnu.org
Subject: Broken tooltips with dual-head on MS Windows
Date: Sat, 21 Jul 2007 12:24:51 +0100
[Message part 1 (text/plain, inline)]
Hi,

I found a few problems with the positioning of tooltips when more than
one monitor is used under Windows. The current code seems to only take
into account the dimensions of the primary display so that for example
if the cursor is to the right of the primary display then it will
always think the tooltip doesn't fit and it will always move it to the
left of the cursor. Also, if there is a display to the left of the
primary display then all of the coordinates on that display are
negative but Emacs won't let the tooltip be positioned at a
co-ordinate less than zero so the tooltip is placed in the wrong
display.

I've made a little patch to the compute_tip_xy function to make it use
the multi-monitor API so that it can correctly position the tooltip
within the display containing the cursor. The API is checked for
dynamically using GetProcAddress so that it can still work under
Windows 95 where it isn't available. I'm not sure if the rest of Emacs
still supports Win95 so it could be tidied up if this isn't necessary.

Regards,
- Neil
[wintooltip.patch (text/plain, attachment)]
[Message part 3 (text/plain, inline)]
_______________________________________________
bug-gnu-emacs mailing list
bug-gnu-emacs <at> gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gnu-emacs

Reply sent to Jason Rumney <jasonr <at> gnu.org>:
You have taken responsibility. Full text and rfc822 format available.

Notification sent to Neil Roberts <bpeeluk <at> yahoo.co.uk>:
bug acknowledged by developer. Full text and rfc822 format available.

Message #10 received at 24-done <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Jason Rumney <jasonr <at> gnu.org>
To: 24-done <at> debbugs.gnu.org
Subject: Re: Broken tooltips with dual-head on MS Windows
Date: Fri, 14 Mar 2008 16:11:07 +0000
I've applied a similar patch to Emacs 23 (trunk).





bug archived. Request was from Debbugs Internal Request <don <at> donarmstrong.com> to internal_control <at> emacsbugs.donarmstrong.com. (Sat, 12 Apr 2008 14:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 17 years and 69 days ago.

Previous Next


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