* bug#74641: When scrolling on non-selected window, this window does not change to selected.
@ 2024-12-02 1:00 soliidne
2024-12-02 5:11 ` Sean Whitton
2024-12-02 13:08 ` Eli Zaretskii
0 siblings, 2 replies; 4+ messages in thread
From: soliidne @ 2024-12-02 1:00 UTC (permalink / raw)
To: 74641
Hi !
Assume, one frame and it is split into two window. When scrolling on non-selected window, this window does not change to selected.
If these two windows contain same buffer and when scrolling on non-selected window, the individual scroll events go through to selected window, because buffer makes a few jumps there. The non-selected window remain non-selected.
Tested with:
pixel-scroll-precision-mode enabled
pixel-scroll-mode disabled
mouse-wheel-mode enabled/disabled
emacs 29.4
archlinux
xfwm4 4.18.0-4
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#74641: When scrolling on non-selected window, this window does not change to selected.
2024-12-02 1:00 bug#74641: When scrolling on non-selected window, this window does not change to selected soliidne
@ 2024-12-02 5:11 ` Sean Whitton
2024-12-02 13:08 ` Eli Zaretskii
1 sibling, 0 replies; 4+ messages in thread
From: Sean Whitton @ 2024-12-02 5:11 UTC (permalink / raw)
To: soliidne, 74641
Hello,
This is a feature, not a bug, I think.
You might want to look at the setting mouse-autoselect-window.
--
Sean Whitton
Please excuse top-posting and brevity. I am writing to you from a mobile phone.
> On 2 Dec 2024, at 12:40, soliidne@gmail.com wrote:
>
> Hi !
>
> Assume, one frame and it is split into two window. When scrolling on non-selected window, this window does not change to selected.
>
> If these two windows contain same buffer and when scrolling on non-selected window, the individual scroll events go through to selected window, because buffer makes a few jumps there. The non-selected window remain non-selected.
>
> Tested with:
>
> pixel-scroll-precision-mode enabled
> pixel-scroll-mode disabled
> mouse-wheel-mode enabled/disabled
>
> emacs 29.4
> archlinux
> xfwm4 4.18.0-4
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#74641: When scrolling on non-selected window, this window does not change to selected.
2024-12-02 1:00 bug#74641: When scrolling on non-selected window, this window does not change to selected soliidne
2024-12-02 5:11 ` Sean Whitton
@ 2024-12-02 13:08 ` Eli Zaretskii
[not found] ` <20241202155112.5cc0e84a@Elitebook>
1 sibling, 1 reply; 4+ messages in thread
From: Eli Zaretskii @ 2024-12-02 13:08 UTC (permalink / raw)
To: soliidne; +Cc: 74641
> Date: Mon, 2 Dec 2024 03:00:46 +0200
> From: <soliidne@gmail.com>
>
> Hi !
>
> Assume, one frame and it is split into two window. When scrolling on non-selected window, this window does not change to selected.
>
> If these two windows contain same buffer and when scrolling on non-selected window, the individual scroll events go through to selected window, because buffer makes a few jumps there. The non-selected window remain non-selected.
>
> Tested with:
>
> pixel-scroll-precision-mode enabled
> pixel-scroll-mode disabled
> mouse-wheel-mode enabled/disabled
>
> emacs 29.4
> archlinux
> xfwm4 4.18.0-4
Please show a recipe, preferably starting from "emacs -Q", to
reproduce the issue. Because just by doing what I think you did, I
cannot reproduce this: I can scroll a non-selected window without
affecting the selected window which shows the same buffer. What am I
missing?
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#74641: When scrolling on non-selected window, this window does not change to selected.
[not found] ` <20241202155112.5cc0e84a@Elitebook>
@ 2024-12-02 14:34 ` Eli Zaretskii
0 siblings, 0 replies; 4+ messages in thread
From: Eli Zaretskii @ 2024-12-02 14:34 UTC (permalink / raw)
To: soliidne; +Cc: 74641
[Please use Reply All to reply, so that the bug tracker is CC'ed.]
> Date: Mon, 2 Dec 2024 15:51:12 +0200
> From: <soliidne@gmail.com>
>
> 1.
> If you scroll a upper non-selected window of same buffer, will the upper widow become selected ?
No. And it shouldn't.
> My position is that if non-selected window gets scroll event, the same window should become selected. Same way, as a mouse-1 click on a non-selected window makes that same window selected.
In that case, what Sean wrote is true: it's a feature, not a bug.
Emacs lets you scroll a window without making it the selected one.
> When you scroll upper non-selected window, the bottom selected window still "steals" some individual scroll events. Thus, scrolling in a non-selected window also affects another selected window of the same frame.
This I cannot reproduce. If you have a recipe for reproducing this in
"emacs -Q", please show the steps to reproduce.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-12-02 14:34 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-02 1:00 bug#74641: When scrolling on non-selected window, this window does not change to selected soliidne
2024-12-02 5:11 ` Sean Whitton
2024-12-02 13:08 ` Eli Zaretskii
[not found] ` <20241202155112.5cc0e84a@Elitebook>
2024-12-02 14:34 ` Eli Zaretskii
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.