GNU bug report logs - #36779
25.1; mouse click not recognized for frames with large left position

Previous Next

Package: emacs;

Reported by: Eijiro Sumii <sumii <at> ecei.tohoku.ac.jp>

Date: Wed, 24 Jul 2019 05:13:01 UTC

Severity: normal

Tags: notabug

Found in version 25.1

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

Full log


Message #29 received at 36779 <at> debbugs.gnu.org (full text, mbox):

From: martin rudalics <rudalics <at> gmx.at>
To: Eijiro Sumii <sumii <at> ecei.tohoku.ac.jp>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 36779 <at> debbugs.gnu.org
Subject: Re: bug#36779: 25.1; mouse click not recognized for frames with large
 left position
Date: Mon, 29 Jul 2019 17:16:27 +0200
> Additionally, I noticed that the *shape* of the mouse cursor changes
> correctly in accordance with the contents of the window frame at the
> mouse position; however, no click is recognized *except for* some
> "shallow" part of the menu.

Can you mark text with the mouse?  Does the bug happen only when the
entire frame is positioned to the right of 3840 or do you see it with
a frame starting before 3840 but extending to the right of the display
as well?

If you want to debug mouse clicks it should suffice to set a break
point with gdb at the top of the body below the lines

    case ButtonRelease:
    case ButtonPress:

of xterm.c (in Emacs 25 they are at line 8499 here) and look whether
it triggers.  If it triggers, then the call of x_window_to_frame in

        f = (x_mouse_grabbed (dpyinfo) ? dpyinfo->last_mouse_frame
	     : x_window_to_frame (dpyinfo, event->xbutton.window));

should give us some preliminary information.

martin




This bug report was last modified 4 years and 272 days ago.

Previous Next


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