emacs-eaf / emacs-eaf/emacs-application-framework
EAF frame not in center in Mac OS
- Dominant language
- Python
- Stars
- 3.5k
- Forks
- 245
- Avg merge
- 22h 20m
- Merged PRs (30d)
- 1
Description
**Describe the bug**
EAF window is never in the center, it's always to the bottom right.
**To Reproduce**
I just installed eaf through spacemacs and this was my issue.
**Expected behavior**
EAF buffer should appear in the center of the screen.
**Versions (please complete the following info):**
- Distro and DE/WM: macOS Monterey version 12.4
- Versions of Dependencies:
- M-x emacs-version: GNU Emacs 29.0.50 (build 2, x86_64-apple-darwin21.5.0, NS appkit-2113.50 Version 12.4 (Build 21F79)) of 2022-05-18
**Error logs**
```
qt.webenginecontext:
GL Type: core_profile
Surface Type: OpenGL
Surface Profile: CoreProfile
Surface Version: 4.1
QSG RHI Backend: OpenGL
Using Supported QSG Backend: yes
Using Software Dynamic GL: no
Using Multithreaded OpenGL: yes
Init Parameters:
* application-name Python
* browser-subprocess-path /Users/Joshua.T.Wood/Library/Python/3.8/lib/python/site-packages/PyQt6/Qt6/lib/QtWebEngineCore.framework/Helpers/QtWebEngineProcess.app/Contents/MacOS/QtWebEngineProcess
* disable-features ConsolidatedMovementXY,InstalledApp,BackgroundFetch,WebOTP,WebPayments,WebUSB,PictureInPicture
* disable-speech-api
* disable-web-security
* enable-features NetworkServiceInProcess,TracingServiceInProcess
* enable-gpu-rasterization
* enable-native-gpu-memory-buffers
* enable-threaded-compositing
* ignore-gpu-blocklist
* in-process-gpu
* use-gl core_profile
[EAF] Browser https://www.google.com/ loading time: 0.9189050197601318s
[EAF] Browser https://www.google.com/ loading time: 0.4785439968109131s
```
**Screenshots**


**Additional context**
Add any other context about the problem here.
Contributor guide
No contributing guide indexed for this repository
Research direction
No file, test, or entry point is named. Reproduce the EAF window-positioning issue on macOS Monterey with the reported Emacs version, then trace where the window location is set; done means the EAF buffer opens centered rather than at the bottom right.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- emacs, python
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100