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

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

bug#36672: closed (27.0.50; NS build: Creating child frame leads to empt


From: GNU bug Tracking System
Subject: bug#36672: closed (27.0.50; NS build: Creating child frame leads to empty space)
Date: Thu, 12 Mar 2020 23:28:01 +0000

Your message dated Fri, 13 Mar 2020 00:27:09 +0100 (CET)
with message-id <address@hidden>
and subject line Re: bug#36672: 27.0.50; NS build: Creating child frame leads 
to empty space
has caused the debbugs.gnu.org bug report #36672,
regarding 27.0.50; NS build: Creating child frame leads to empty space
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden.)


-- 
36672: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=36672
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: 27.0.50; NS build: Creating child frame leads to empty space Date: Mon, 15 Jul 2019 20:38:31 +0300
Assume there are only one space - Desktop
1. emacs -Q
2. M-x toggle-frame-fullscreen
   Now there are two spaces - Desktop and *scratch*
3. eval (make-frame `((parent-frame . ,(window-frame))))
   Now there are three spaces:
   - Desktop
   - Empty space named *scratch* with emacs menu
   - *scratch* with emacs frames but without menu

Although attached patch solves this problem for me these cases still not
handled right way:

1. Removing parent-frame property leaves the frame is same space:

(let ((new-frame (make-frame `((parent-frame . ,(window-frame))))))
  (modify-frame-parameters new-frame `((parent-frame . nil))))

Maybe child frame must go fullscreen if ex-parent frame is in
fullscreen.

2. Setting parent frame after frame creation:

(let ((frame (window-frame))
      (new-frame (make-frame)))
  (modify-frame-parameters new-frame `((parent-frame . ,frame))))

Thanks!

In GNU Emacs 27.0.50 (build 1, x86_64-apple-darwin18.6.0, NS
appkit-1671.50 Version 10.14.5 (Build 18F132))
Windowing system distributor 'Apple', version 10.3.1671
System Description:  Mac OS X 10.14.5

Attachment: ns-emacs-spaces.patch
Description: Binary data


--- End Message ---
--- Begin Message --- Subject: Re: bug#36672: 27.0.50; NS build: Creating child frame leads to empty space Date: Fri, 13 Mar 2020 00:27:09 +0100 (CET)
On Tue, Mar 10, 2020 at 10:42:11AM +0200, Andrii Kolomoiets wrote:
> Please see attached patch. Log message is also provided.

This all looks good to me. Pushed to master as
bbc48b263485c26c6823eabdbbd7e9af62178e34.

Thank you!

-- 
Alan Third


--- End Message ---

reply via email to

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