unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#52332: 29.0.50; Invisible button in the mode line
@ 2021-12-06 16:40 Protesilaos Stavrou
  2021-12-06 17:11 ` Eli Zaretskii
  0 siblings, 1 reply; 7+ messages in thread
From: Protesilaos Stavrou @ 2021-12-06 16:40 UTC (permalink / raw)
  To: 52332

[-- Attachment #1: Type: text/plain, Size: 447 bytes --]

Dear maintainers,

With the current master if we launch an emacs -Q session we can use the
mouse pointer to find an invisible button to the left of the "All" word
on the mode line.

Its tooltip shows the same information as the actual "All" button.
Pressing on this invisible button provides a pop-up menu to toggle line
and column number display.

See attached screenshot.

Thank you,
Protesilaos

-- 
Protesilaos Stavrou
https://protesilaos.com

[-- Attachment #2: emacs-29-mode-line-invisible-button.png --]
[-- Type: image/png, Size: 41646 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#52332: 29.0.50; Invisible button in the mode line
  2021-12-06 16:40 bug#52332: 29.0.50; Invisible button in the mode line Protesilaos Stavrou
@ 2021-12-06 17:11 ` Eli Zaretskii
  2021-12-06 18:10   ` Protesilaos Stavrou
  0 siblings, 1 reply; 7+ messages in thread
From: Eli Zaretskii @ 2021-12-06 17:11 UTC (permalink / raw)
  To: Protesilaos Stavrou; +Cc: 52332

> From: Protesilaos Stavrou <info@protesilaos.com>
> Date: Mon, 06 Dec 2021 18:40:12 +0200
> 
> With the current master if we launch an emacs -Q session we can use the
> mouse pointer to find an invisible button to the left of the "All" word
> on the mode line.
> 
> Its tooltip shows the same information as the actual "All" button.
> Pressing on this invisible button provides a pop-up menu to toggle line
> and column number display.
> 
> See attached screenshot.

Thanks, should be fixed now.





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#52332: 29.0.50; Invisible button in the mode line
  2021-12-06 17:11 ` Eli Zaretskii
@ 2021-12-06 18:10   ` Protesilaos Stavrou
  2021-12-06 18:28     ` Eli Zaretskii
  0 siblings, 1 reply; 7+ messages in thread
From: Protesilaos Stavrou @ 2021-12-06 18:10 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 52332

On 2021-12-06, 19:11 +0200, Eli Zaretskii <eliz@gnu.org> wrote:

>> From: Protesilaos Stavrou <info@protesilaos.com>
>> Date: Mon, 06 Dec 2021 18:40:12 +0200
>> 
>> With the current master if we launch an emacs -Q session we can use the
>> mouse pointer to find an invisible button to the left of the "All" word
>> on the mode line.
>> 
>> Its tooltip shows the same information as the actual "All" button.
>> Pressing on this invisible button provides a pop-up menu to toggle line
>> and column number display.
>> 
>> See attached screenshot.
>
> Thanks, should be fixed now.

Can confirm.  Thank you!

-- 
Protesilaos Stavrou
https://protesilaos.com





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#52332: 29.0.50; Invisible button in the mode line
  2021-12-06 18:10   ` Protesilaos Stavrou
@ 2021-12-06 18:28     ` Eli Zaretskii
  2021-12-20 12:37       ` Lars Ingebrigtsen
  0 siblings, 1 reply; 7+ messages in thread
From: Eli Zaretskii @ 2021-12-06 18:28 UTC (permalink / raw)
  To: Protesilaos Stavrou; +Cc: 52332

> From: Protesilaos Stavrou <info@protesilaos.com>
> Cc: 52332@debbugs.gnu.org
> Date: Mon, 06 Dec 2021 20:10:40 +0200
> 
> On 2021-12-06, 19:11 +0200, Eli Zaretskii <eliz@gnu.org> wrote:
> 
> >> From: Protesilaos Stavrou <info@protesilaos.com>
> >> Date: Mon, 06 Dec 2021 18:40:12 +0200
> >> 
> >> With the current master if we launch an emacs -Q session we can use the
> >> mouse pointer to find an invisible button to the left of the "All" word
> >> on the mode line.
> >> 
> >> Its tooltip shows the same information as the actual "All" button.
> >> Pressing on this invisible button provides a pop-up menu to toggle line
> >> and column number display.
> >> 
> >> See attached screenshot.
> >
> > Thanks, should be fixed now.
> 
> Can confirm.  Thank you!

Wait with the thanks, it sounds like Lars wants that button back...





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#52332: 29.0.50; Invisible button in the mode line
  2021-12-06 18:28     ` Eli Zaretskii
@ 2021-12-20 12:37       ` Lars Ingebrigtsen
  2021-12-21  5:32         ` Lars Ingebrigtsen
  0 siblings, 1 reply; 7+ messages in thread
From: Lars Ingebrigtsen @ 2021-12-20 12:37 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 52332, Protesilaos Stavrou

Eli Zaretskii <eliz@gnu.org> writes:

> Wait with the thanks, it sounds like Lars wants that button back...

I've now fixed this in a different way in Emacs 29.  (But gnu.org is
still down, so it's not pushed yet.)

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#52332: 29.0.50; Invisible button in the mode line
  2021-12-20 12:37       ` Lars Ingebrigtsen
@ 2021-12-21  5:32         ` Lars Ingebrigtsen
  2021-12-21 12:21           ` Eli Zaretskii
  0 siblings, 1 reply; 7+ messages in thread
From: Lars Ingebrigtsen @ 2021-12-21  5:32 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 52332, Protesilaos Stavrou

Lars Ingebrigtsen <larsi@gnus.org> writes:

> I've now fixed this in a different way in Emacs 29.  (But gnu.org is
> still down, so it's not pushed yet.)

Pushed now.

By the way, I wanted to mention -- while poking at this stuff, I noticed
that apparently the mode line is redisplayed multiple times when doing
some common things.

For instance, hitting page-down seems to render the mode line twice?
Mouse-clicking something also renders it twice.  Hm...  oh, it renders
once on mouse-down and once on mouse-up, so I guess that's OK.  So I
guess the only mysterious one is the page-down/page-up double render.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#52332: 29.0.50; Invisible button in the mode line
  2021-12-21  5:32         ` Lars Ingebrigtsen
@ 2021-12-21 12:21           ` Eli Zaretskii
  0 siblings, 0 replies; 7+ messages in thread
From: Eli Zaretskii @ 2021-12-21 12:21 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: 52332, info

> From: Lars Ingebrigtsen <larsi@gnus.org>
> Cc: 52332@debbugs.gnu.org,  Protesilaos Stavrou <info@protesilaos.com>
> Date: Tue, 21 Dec 2021 06:32:23 +0100
> 
> By the way, I wanted to mention -- while poking at this stuff, I noticed
> that apparently the mode line is redisplayed multiple times when doing
> some common things.
> 
> For instance, hitting page-down seems to render the mode line twice?
> Mouse-clicking something also renders it twice.  Hm...  oh, it renders
> once on mouse-down and once on mouse-up, so I guess that's OK.  So I
> guess the only mysterious one is the page-down/page-up double render.

This is normal.  Scrolling commands first see if point is inside the
window, and that requires redisplay of the mode line (because its
spec could have changed in the meanwhile).  Then the scrolling
commands determine the appropriate window-start point, and then
redisplay kicks in with the second update of the mode line.





^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-12-21 12:21 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-06 16:40 bug#52332: 29.0.50; Invisible button in the mode line Protesilaos Stavrou
2021-12-06 17:11 ` Eli Zaretskii
2021-12-06 18:10   ` Protesilaos Stavrou
2021-12-06 18:28     ` Eli Zaretskii
2021-12-20 12:37       ` Lars Ingebrigtsen
2021-12-21  5:32         ` Lars Ingebrigtsen
2021-12-21 12:21           ` Eli Zaretskii

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).