GNU bug report logs - #78871
31.0.50

Previous Next

Package: emacs;

Reported by: Johann Höchtl <johann.hoechtl <at> gmail.com>

Date: Mon, 23 Jun 2025 11:25:03 UTC

Severity: normal

Found in version 31.0.50

To reply to this bug, email your comments to 78871 AT debbugs.gnu.org.

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-gnu-emacs <at> gnu.org:
bug#78871; Package emacs. (Mon, 23 Jun 2025 11:25:24 GMT) Full text and rfc822 format available.

Acknowledgement sent to Johann Höchtl <johann.hoechtl <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 23 Jun 2025 11:25:24 GMT) Full text and rfc822 format available.

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

From: Johann Höchtl <johann.hoechtl <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 31.0.50
Date: Mon, 23 Jun 2025 13:24:14 +0200
[Message part 1 (text/plain, inline)]
When I open a speedbar-window and right-click with the mouse on the
status-bar, the speed-bar disappears.

When I try to bring it back with speedbar-window I get the error message
(in messages): "funcall-interactively: Attempt to delete the sole visible
or iconified frame"

I think there sould be a way to bring back that "invisible frame".
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#78871; Package emacs. (Mon, 23 Jun 2025 11:51:04 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Johann Höchtl <johann.hoechtl <at> gmail.com>
Cc: 78871 <at> debbugs.gnu.org
Subject: Re: bug#78871: 31.0.50
Date: Mon, 23 Jun 2025 14:49:55 +0300
> From: Johann Höchtl <johann.hoechtl <at> gmail.com>
> Date: Mon, 23 Jun 2025 13:24:14 +0200
> 
> When I open a speedbar-window and right-click with the mouse on the status-bar, the speed-bar
> disappears.

What do you mean by "status bar" here?  I tried right-clicking on
various portions of the Speedbar frame, but couldn't cause it to
"disappear".

> When I try to bring it back with speedbar-window I get the error message (in messages):
> "funcall-interactively: Attempt to delete the sole visible or iconified frame"

Doesn't happen here, either.

> I think there sould be a way to bring back that "invisible frame".

It would be good to understand first what kind of "invisible frame" we
are talking about.  Can you post a complete recipe starting from
"emacs -Q"?

Thanks.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#78871; Package emacs. (Mon, 23 Jun 2025 12:08:01 GMT) Full text and rfc822 format available.

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

From: Johann Höchtl <johann.hoechtl <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 78871 <at> debbugs.gnu.org
Subject: Re: bug#78871: 31.0.50
Date: Mon, 23 Jun 2025 14:07:31 +0200
[Message part 1 (text/plain, inline)]
> It would be good to understand first what kind of "invisible frame" we
are talking about.  Can you post a complete recipe starting from
"emacs -Q"?

Sure:

emacs -Q
M-x speedbar-window
Use the mouse and move over to the generated speedbar-window, move over
anywhere the part where "# Files " (isn't that the status bar) is written
and press right mouse button
Effect: Speedbar Window disappears.
Any subsequent attempt to bring the speedbar (M-x speedbar) of the Windows
(M-x speedbar-window) back results in the error message "Attempt to delete
the sole visible or iconified frame"


This error message also appears when you focus into the speedbar-window and
press "Q" (which calls delete-frame).

This might be the actual problem as a speedbar-window is no longer a frame
on it's own but embedded into an existing frame and the last visible frame
must no be deleted with delete-frame.

Am Mo., 23. Juni 2025 um 13:50 Uhr schrieb Eli Zaretskii <eliz <at> gnu.org>:

> > From: Johann Höchtl <johann.hoechtl <at> gmail.com>
> > Date: Mon, 23 Jun 2025 13:24:14 +0200
> >
> > When I open a speedbar-window and right-click with the mouse on the
> status-bar, the speed-bar
> > disappears.
>
> What do you mean by "status bar" here?  I tried right-clicking on
> various portions of the Speedbar frame, but couldn't cause it to
> "disappear".
>
> > When I try to bring it back with speedbar-window I get the error message
> (in messages):
> > "funcall-interactively: Attempt to delete the sole visible or iconified
> frame"
>
> Doesn't happen here, either.
>
> > I think there sould be a way to bring back that "invisible frame".
>
> It would be good to understand first what kind of "invisible frame" we
> are talking about.  Can you post a complete recipe starting from
> "emacs -Q"?
>
> Thanks.
>
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#78871; Package emacs. (Mon, 23 Jun 2025 14:00:04 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Johann Höchtl <johann.hoechtl <at> gmail.com>
Cc: 78871 <at> debbugs.gnu.org
Subject: Re: bug#78871: 31.0.50
Date: Mon, 23 Jun 2025 16:59:24 +0300
> From: Johann Höchtl <johann.hoechtl <at> gmail.com>
> Date: Mon, 23 Jun 2025 14:07:31 +0200
> Cc: 78871 <at> debbugs.gnu.org
> 
> > It would be good to understand first what kind of "invisible frame" we
> are talking about.  Can you post a complete recipe starting from
> "emacs -Q"? 
> 
> Sure:
> 
> emacs -Q
> M-x speedbar-window
> Use the mouse and move over to the generated speedbar-window, move over anywhere the part where "#
> Files " (isn't that the status bar) is written and press right mouse button
> Effect: Speedbar Window disappears. 
> Any subsequent attempt to bring the speedbar (M-x speedbar) of the Windows (M-x speedbar-window) back
> results in the error message "Attempt to delete the sole visible or iconified frame"

Ah, okay.  This happens because mouse-3 on the mode line of the
speedbar window just deletes the speedbar window.  It should instead
call speedbar-window--close.  Patches welcome.

As a workaround, you can manually set the variable speedbar-frame to
nil:

  M-: (setq speedbar-frame nil) RET

Then "M-x speedbar-window" will work again.

> This error message also appears when you focus into the speedbar-window and press "Q" (which calls
> delete-frame). 

This is not a bug, since there is only one frame, and Emacs doesn't
allow to delete such a frame.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#78871; Package emacs. (Tue, 24 Jun 2025 15:20:03 GMT) Full text and rfc822 format available.

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

From: Johann Höchtl <johann.hoechtl <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 78871 <at> debbugs.gnu.org
Subject: Re: bug#78871: 31.0.50
Date: Tue, 24 Jun 2025 17:19:00 +0200
[Message part 1 (text/plain, inline)]
>
>
>
>
> > This error message also appears when you focus into the speedbar-window
> and press "Q" (which calls
> > delete-frame).
>
> This is not a bug, since there is only one frame, and Emacs doesn't
> allow to delete such a frame.
>

So if I open Emacs, C-x 5 2 to create a new Frame, M-x speedbar-window and
therein press Q I would not assume to close this the whole frame.

Q is from a time when there was just one speedbar-frame.

>
[Message part 2 (text/html, inline)]

This bug report was last modified 86 days ago.

Previous Next


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