Comments (1)
to clarify, emacs doesn't handle scale changed events at all, except by chance if it's forced to redraw the whole window. winit on my platform incorrectly reports 1.0 as the scale factor when the window loads, but then returns 2.0 a tad later. Internally we get the scale factor from a variety of sources, sometimes from the window, sometimes from the primary_display (?!). These clearly contradict, so things jump around on the screen until the scale is correct.
Tao gets the scale right to start with, so this bug is masked.
Separately, the scaling code is backwards. I think we should be handing logical dimensions to emacs and only using the physical dimensions when rendering. That way we wouldn't have to multiply by the scaling factor to get mouse events in the right place. Intuitively this should give emacs a smaller screen and save it some work.
from emacs-ng.
Related Issues (20)
- Build error Arch Linux - also the same "workaround". HOT 6
- Building with docker results cargo: command not found error HOT 2
- Nix CI on macOS is broken HOT 1
- emacs fails to load on intel iris with surfman HOT 1
- Dependency Dashboard
- impl internal boder for emacs wr renderer HOT 1
- Check WR ligatures support status HOT 1
- implicit declaration of function 'Fx_hide_tip' is invalid in C99
- signal: 4, SIGILL: illegal instruction
- CI Pull upstream is broken
- Improve Image support for WR build
- Disable child frame for winit and configure alternative UI for popular Elisp packages.
- Add child frame support for winit
- Add xwidget support for WR using Servo
- Release source with vendored rust sources for offline build
- Add `alpha-background` support for Winit/WR
- Modeline/Button is missing border, input box is missing background. See screenshot 1
- Image view scratches image when scaling screenshot 2,
- The released deb files are broken
- Integration tokio
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from emacs-ng.