all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: Aaron Jensen <aaronjensen@gmail.com>
Cc: 31546@debbugs.gnu.org, Alan Third <alan@idiocy.org>
Subject: bug#31546: 27.0.50; macOS child frames with no mode-line mouse click problem
Date: Thu, 24 May 2018 09:19:44 +0200	[thread overview]
Message-ID: <5B066790.7060104@gmx.at> (raw)
In-Reply-To: <CAHyO48wePTdRrBG2TTVUg6Lqiv+YCNx7gWtGK71+81cwBzV=7Q@mail.gmail.com>

 >> Now I am confused.  Is this in any way related to the OP's report?
 >> There the window below in the z-order gets scrolled but here you seem
 >> to mean that a mouse click affects the window above in the z-order.
 >
 > I'm the OP. I'm sorry if I wasn't clear in the initial report. The problem
 > is that the child frame (which appears on top of the parent frame) gets
 > scrolled on click. In this gif, the visible frame is the child frame:
 > https://dzwonsemrish7.cloudfront.net/items/3p2o232r1S333y1o1H3S/Screen%20Recording%202018-05-22%20at%2005.44%20AM.gif?v=b53e93c1

But I referred to Alan's response and it seems that he sees the
converse of what you observed.

 >> I still don't understand which command gets executed in order to
 >> scroll the parent frame's window.  That is, if with emacs -Q I click
 >> anywhere on my single frame's only window's mode line, that window
 >> never scrolls.  So please tell me how your window gets scrolled.
 >
 > I do not know what the command is that is scrolling the child frame. It
 > does not appear in view-lossage.

And C-h k does not give any clue either?  Try putting "(ding)" into
'mouse-set-point' just before "(mouse-minibuffer-check)" and check
whether it rings when you click.  If it does, then please look into
'posn-set-point' which window gets selected.  I suppose it's the
parent frame's window which gets passed via EVENT to 'mouse-set-point'
so we will have to check why the child frame's window is not found
when constructing the event.  The corresponding GTK code to get the
right frame is already quite painful (see 'XTmouse_position') so I
wouldn't be surprised if macOS had similar problems.

 >> If "the frame" is a child frame then this problem is pertinent to your
 >> windowing system: With X or Windows child frames cannot be moved out
 >> of their parent frames.
 >
 > This may be, but I'm at a loss as to how my windowing system would increase
 > the height of an emacs window. It seems more likely that it is due to some
 > bug in nsterm, but I have been wrong before.

Sorry.  I referred to your earlier

   I should say that even if I move the frame so that it's not over the parent
   frame the scrolling bug still happens.

so this was about moving the frame and not changing its height.

martin





  parent reply	other threads:[~2018-05-24  7:19 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-22  5:23 bug#31546: 27.0.50; macOS child frames with no mode-line mouse click problem Aaron Jensen
2018-05-22  7:25 ` martin rudalics
2018-05-22  7:33   ` Aaron Jensen
2018-05-22  8:40     ` martin rudalics
2018-05-22 12:51       ` Aaron Jensen
2018-05-22 19:33         ` Alan Third
2018-05-22 19:36           ` Aaron Jensen
2018-05-22 19:44             ` Alan Third
2018-05-22 19:51               ` Aaron Jensen
2018-05-23  6:36                 ` martin rudalics
2018-05-23 11:14                   ` Aaron Jensen
2018-05-23 21:31                     ` Alan Third
2018-05-23 22:21                       ` Aaron Jensen
2018-05-24  7:19                         ` martin rudalics
2018-05-24 10:53                           ` Aaron Jensen
2018-05-24 11:06                             ` Aaron Jensen
2018-05-24 15:28                               ` Eli Zaretskii
2018-05-24 15:58                                 ` Aaron Jensen
2018-05-25  6:34                                   ` martin rudalics
2018-05-26 16:38                                   ` Alan Third
2018-05-26 17:02                                     ` Aaron Jensen
2018-05-26 18:22                                       ` Alan Third
2018-05-26 20:15                                         ` Aaron Jensen
2018-05-27  6:22                                           ` martin rudalics
2018-05-27 15:57                                             ` Eli Zaretskii
2018-05-27 17:13                                               ` Aaron Jensen
2018-05-27 17:38                                                 ` Eli Zaretskii
2018-05-27 17:52                                                   ` Aaron Jensen
2018-05-27 18:52                                                     ` Aaron Jensen
2018-05-27 21:24                                                       ` Alan Third
2018-05-27 21:53                                                         ` Aaron Jensen
2018-06-02  6:35                                                           ` Aaron Jensen
2018-06-02  8:00                                                             ` Eli Zaretskii
2018-06-02 15:41                                                               ` Aaron Jensen
2018-06-14 16:37                                                                 ` Aaron Jensen
2018-06-14 20:40                                                                   ` Alan Third
2018-06-14 21:21                                                                     ` Aaron Jensen
2018-06-15  7:02                                                                     ` Eli Zaretskii
2018-06-17 11:08                                                                       ` Alan Third
2018-06-17 12:03                                                                         ` Aaron Jensen
2018-05-24 15:27                             ` Eli Zaretskii
2018-05-24  7:19                     ` martin rudalics [this message]
2018-05-23  6:36             ` martin rudalics
2018-05-23  6:36           ` martin rudalics

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

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

  git send-email \
    --in-reply-to=5B066790.7060104@gmx.at \
    --to=rudalics@gmx.at \
    --cc=31546@debbugs.gnu.org \
    --cc=aaronjensen@gmail.com \
    --cc=alan@idiocy.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.