manateelazycat / popweb

Show popup web window for Emacs
146 stars 17 forks source link

Mac M1 popweb-latex do not display with Emacs fullscreen #29

Closed Jousimies closed 2 years ago

Jousimies commented 2 years ago

When I use Emacs with toggle-frame-fullscreen, the latex preview can not display in front of emacs. It displayed in another workspace.

image

Can not see the preview

image

Can be seen in another workspace

If I use Emacs with toggle-frame-maximized, the latex preview do work.

image

the popweb buffer:

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/duanning/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 

js: Uncaught TypeError: Cannot read properties of null (reading 'offsetWidth')
js: Uncaught TypeError: Cannot read properties of null (reading 'offsetWidth')
js: Uncaught TypeError: Cannot read properties of null (reading 'offsetHeight')
manateelazycat commented 2 years ago

https://github.com/manateelazycat/lazycat-emacs/blob/d90278a2a9d5695b5264d8274d977bc1c46d5ea8/site-lisp/config/init-fullscreen.el#L93