-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
childframe macOS limitation; (black fullscreen, missing border) #30
Comments
Same here. However, I have given up on dealing with this issue. It's probably a chilled frame problem. |
Ah right. I figured it must be child frame issue but couldn't find any bugs reported there. I do see the flicker issue mentioned https://debbugs.gnu.org/cgi/bugreport.cgi?bug=30699 but that was different. Is it worth submitting an emacs bug? |
I don't have an opinion on it is worth submitting an emacs bug. Not a few Mac users are in trouble, but I'm not sure if this is Emacs Limitation or MacOS Limitation. |
Because this package is registered in the ELPA repository, we consider this package to be a common framework for dealing with Child-frame. |
I have no opinion, for i do not know the status of emacs in macos, i have no mac for test |
I had this problem with macOS Emacs built using the @abbaswasim: Which macOS Emacs do you use? |
@gcv I use the one from https://emacsformacosx.com I will give the one from |
@conao3 yes I could never see border either in my version. |
I have now moved to |
flick? suggest a screenshot |
No more flickers with |
@tumashu, please rename this issue to |
I also see this. Emacs 26.3 from EmacsForOSX, macOS 10.14.6, posframe 20200205.928. |
Thanks @mpereira, I have the same problem. |
Check tumashu/posframe#30 (comment) for more details.
experiencing same problem |
I believe child frames must work fine in fullscreen with this commit |
I have the same issue at Mac os |
This issue #30 (comment) exists not only in child frame, but also in normal frame. I have the same problem when customize helm to display in a separate frame. it seems I tested the code below on emacs(ns), emacs(mac) and emacs on linux(gtk), turns out both emacs(mac) and emacs on linux works fine, but emacs(ns) does not. So, i think it's a bug of emacs(ns). ;; from https://lists.gnu.org/r/emacs-devel/2019-03/msg00282.html
(defface test
'((t (:inherit default :background "green")))
"Face used by the ivy-posframe."
:group 'ivy-posframe)
(set-face-background
'internal-border
(face-attribute 'test :background)
(make-frame `((internal-border-width . 100)
(parent-frame . ,(window-frame)))))
(set-face-background
'internal-border
(face-attribute 'test :background)
(make-frame `((internal-border-width . 100)))) |
Check tumashu/posframe#30 (comment) for more details.
For the record, I fixed the "black fullscreen" issues by using daviderestivo/homebrew-emacs-head. The "black fullscreen" issue is still reproducible for me in the alternative, d12frosted/homebrew-emacs-plus. I'm still unable to get posframe borders working though. macOS 10.15.5
|
@mpereira See this commit. Try to reinstall Emacs and see if internal borders is working. |
@muffinmad yay! finally! |
I recompiled Emacs and I get posframe borders now! Thanks for the ping, @muffinmad! |
Folks using Linux, are you able to create frames with both an external/outer border and an internal border? I tried to set both in posframe (with some code changes in My intention was to use the internal border as padding between the frame content and the actual border. https://www.gnu.org/software/emacs/manual/html_node/elisp/Frame-Layout.html |
@mpereira I suggest you to ask this question on the emacs-devel mailing list or fill the bugreport via |
I have installed |
I migrated to emacs-mac from emacs-plus to get this fixed, but I still have problems. In emacs-mac I see the border around the child frame, but after some time of usage it disappers and reappers only in new frames. This problem has been reported also here: emacs-lsp/lsp-ui#21 |
I just brew installed |
It's probably related with your config, maybe you can try to remove most of the configs and test again? Like I have issues with the |
Might be the case indeed, but I have a Btw: |
When I run emacs in Mac OS style fullscreen app, occupying the whole screen I see a second black screen. My steps to reproduce.
Run emacs with a temp home dir;
HOME=/tmp/tmp-home emacs tmp.el
M-x package-install RET posframe RET
contents of tmp.el
M-x eval-buffer
Whenever this is evaluated the first time a new 'posframe' black fullscreen window appears with a flicker and becomes window in focus. I have to do Alt-Tab to go back to emacs and sometimes that doesn't work either and I am stuck at the black window.
next eval-buffer doesn't behave the same but the black window is always there, I am assuming thats the posframe child-window?
In this image you can see I have two fullscreen apps, the actual Emacs app and the
*Minibuf-1*
.This doesn't happen if emacs is not fullscreen though. Not sure if this is a bug in
posframe
or Emacs child-window?The text was updated successfully, but these errors were encountered: