emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#57758: closed (Using menu-bar-mode and tool-bar-mode changes frame s


From: GNU bug Tracking System
Subject: bug#57758: closed (Using menu-bar-mode and tool-bar-mode changes frame size)
Date: Tue, 13 Sep 2022 04:58:02 +0000

Your message dated Tue, 13 Sep 2022 12:56:45 +0800
with message-id <87pmfz27oy.fsf@yahoo.com>
and subject line Re: bug#57758: Using menu-bar-mode and tool-bar-mode changes 
frame size
has caused the debbugs.gnu.org bug report #57758,
regarding Using menu-bar-mode and tool-bar-mode changes frame size
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
57758: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=57758
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: Using menu-bar-mode and tool-bar-mode changes frame size Date: Mon, 12 Sep 2022 21:45:56 +0000
I have noticed that calling repeatedly  "frame-fullscreen"  followed by  
"frame-normal"  changes
the size of the frame.  The problem happens when calling "menu-bar-mode" and 
"tool-bar-mode".

Having only (toggle-frame-fullscreen) keep the frame size intact.

--------

(defun frame-fullscreen ()

  (interactive)

  (toggle-frame-fullscreen) (menu-bar-mode -1) (tool-bar-mode -1))

--------

(defun frame-normal ()

  (interactive)

  (menu-bar-mode 1) (tool-bar-mode 1) (toggle-frame-fullscreen))





--- End Message ---
--- Begin Message --- Subject: Re: bug#57758: Using menu-bar-mode and tool-bar-mode changes frame size Date: Tue, 13 Sep 2022 12:56:45 +0800 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux)
uzibalqa <uzibalqa@proton.me> writes:

> It makes more sense to change the size of the window instead of the frame.

If you want that, turn on frame-inhibit-implied resize.  The default
behavior will not change.

> Particularly for people having multiple screens of different sizes.  The 
> frame 
> resize poses the problem of having the frame get beyond the screen region,
> with no way to access the menu-bar. 

Assuming you mean "monitor" by "screen", you can just move the frame
back inside.  But the implicit resizing is more likely to cut off the
echo area than the menu bar, since the origin of the frame wrt the root
window remains unchanged.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]