pixel-scroll-precision-mode is jittery with Doom
- Dominant language
- Emacs Lisp
- Stars
- 22.7k
- Forks
- 3.1k
- Avg merge
- 10h 46m
- Merged PRs (30d)
- 4
Description
### I confirm that...
- [X] I have searched the [issue tracker](https://github.com/doomemacs/doomemacs/issues), [documentation](https://docs.doomemacs.org), [FAQ](https://docs.doomemacs.org/-/faq), [Discourse](https://discourse.doomemacs.org), and [Google](https://google.com), in case this issue has already been reported/resolved.
- [X] I have read "[How to Debug Issues](https://doomemacs.org/d/how2debug)", and will use it to provide as much information about this issue as possible.
- [X] The issue can be reproduced on the **latest** available commit of Doom.
- [ ] The issue can be reproduced on a stable release of Emacs, such as 27 or 28. *(Doom does not support development builds like 29+ or any version ending in .50 or .9x)*
### Expected behavior
The new `pixel-scroll-precision-mode` works well with `emacs -q`, but when I run it with only Doom (and not my personal config), it becomes jittery. The jitter happens when the cursor is at the bottom of the screen and one scrolls up. The cursor wants to stay at a whole line, while the pixel scrolling scrolls at fractions of a line. In `emacs -q`, this doesn't cause problems and it will scroll more to make it a whole line. In Doom, there is jitter and sometimes it scrolls back DOWN to make it a whole line.
I tested this on the file `~/.emacs.d/lisp/lib/ui.el`.
PS: To make Doom not load my config, I manually added a check for DOOMDIR and stopped loading my config if it didn't exist. This still loads `config.el`, where I have set a few variables. I think the installed packages might have also been loaded. I don't know how to load Doom without these. I used `DOOMDIR=~/doesnotexist`, but it didn't seem to affect anything. It still loaded `~/doom.d`.
### Current behavior
_
### Steps to reproduce
_
### System Information
https://pastebin.com/U7EZhSHC
Contributor guide
Assessment
This issue has not been assessed yet.