rougier / nano-modeline

GNU Emacs / N Λ N O Modeline
GNU General Public License v3.0
175 stars 31 forks source link

Version 0.3 graphical glitches #20

Closed nawetimebomb closed 1 year ago

nawetimebomb commented 2 years ago

Hi,

I installed nano-modeline on version 0.2 and it was working great. Loved the minimal design. Today I changed my package system to straight.el and it pulled 0.3. I noticed some graphical issues and couldn't figure out what it was until I checked versions. I will research more but I thought it was a good idea to open the ticket in case someone updates and see the same issues.

Theme: night-owl-theme Package system: straight.el (was able to pull 0.2 and it work well again) Emacs 27.2

Screenshots:

Version 0.3:

image

hans-d commented 2 years ago

I've noticed some "major" changes as well that impacted my customisation as well.

"noticed some graphical issues" What do you mean? And what kind of customisations have you applied?

hans-d commented 2 years ago

Looks like this might be fixed with #23

nawetimebomb commented 2 years ago

Thank you for the fix. I will try it out. The spacer issue is one I found, the other ones were:

I haven't applied any customization to it.

hans-d commented 2 years ago

Hi, i've provided a workaround for the modeline still showing The inactive nano-modeline most likely is also fixed by #23

nawetimebomb commented 2 years ago

I downloaded #23 but I'm still having the same issues on active and inactive bars, here's the screenshot:

image

Updated the original post to mention I'm using Emacs 27.2

EDIT: In the screenshot, the left window is straight/build/nano-modeline/nano-modeline.el (the actual file built and running on my Emacs). Right side, my configuration (no customization at all)

hans-d commented 2 years ago

Hi, thanks for the screenshot. I've pushed a small fix.

nawetimebomb commented 2 years ago

Just left a comment on #23. The fix works. Thanks!

rougier commented 2 years ago

I now understand #23. I will fix it because I think it can be made simpler than the provided patch by @hans-d;

hans-d commented 2 years ago

@rougier any update on "I will fix it because I think it can be made simpler than the provided patch"

rougier commented 2 years ago

@hans-d No, thanks for the reminder. I think the solution is to define the background of the header-line face with the same background as the active nano modeline face. Problem is that we cannot have different active/inactive background. The other option would be to define a nano-modeline-active and nano-modeline-inactive for spaces between elements (and user is responsible to make them compatible with other elements). What do yout think? Or is you patch simpler?

hans-d commented 2 years ago

Well, the patch is already providing an active/inactive face for the spaces ....

rougier commented 2 years ago

You're right, sorry. Your patch is correct. It'll need a rebase though.