doomemacs / doomemacs/core

Modeline does not scale well

Open
#6,249 2 comments 0 reactions 0 assignees View on GitHub
is:bug needs-triage
Dominant language
Emacs Lisp
Stars
22.7k
Forks
3.1k
Avg merge
10h 46m
Merged PRs (30d)
4

Description

### What did you expect to happen?

When I scale the modeline to be very large, it should scale in proportion to the text it contains.

### What actually happened?

When I using `cmd-=` (`doom/increase-font-size`) and `cmd-`, (`doom/decrease-font-size`) to make things very large, the modeline takes a disproportionate size of the screen. I use such large fonts when projecting to an audience.

See the screenshot below

![image](https://user-images.githubusercontent.com/161292/161752751-f0ab50a0-6278-4d7f-8bb7-ad171b33cbae.png)

Notice that the height of the modeline is several times the height of the line it contains. Normally it looks more like 1.8 times or so.

### Describe your attempts to resolve the issue

_No response_

### Steps to reproduce

1. Open `emacs`
2. Press `cmd-=` a few times.

### System Information

https://pastebin.com/iwDHVTsz

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue in Emacs by opening it and using cmd-= (doom/increase-font-size) several times, then compare the modeline height with the text line. Trace the modeline implementation from the Doom Emacs configuration and identify what determines its scaling; done means the modeline remains proportionate at very large font sizes.

Written by the indexing model from the issue text.

Assessment

Tech stack
emacs, emacs-lisp
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.