nano-modeline icon indicating copy to clipboard operation
nano-modeline copied to clipboard

Version 0.3 graphical glitches

Open nawetimebomb opened this issue 3 years ago • 12 comments

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

nawetimebomb avatar Dec 24 '21 23:12 nawetimebomb

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 avatar Dec 25 '21 15:12 hans-d

Looks like this might be fixed with #23

hans-d avatar Dec 26 '21 07:12 hans-d

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

  • modeline still showing (sometimes). You opened an issue for that, thanks!
  • the inactive nano-modeline also looks broken, like the active one (similar issue to this one)

I haven't applied any customization to it.

nawetimebomb avatar Dec 26 '21 18:12 nawetimebomb

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

hans-d avatar Dec 26 '21 18:12 hans-d

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)

nawetimebomb avatar Dec 28 '21 03:12 nawetimebomb

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

hans-d avatar Dec 28 '21 05:12 hans-d

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

nawetimebomb avatar Dec 28 '21 14:12 nawetimebomb

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

rougier avatar Jan 03 '22 18:01 rougier

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

hans-d avatar Jan 31 '22 12:01 hans-d

@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?

rougier avatar Jan 31 '22 18:01 rougier

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

hans-d avatar Jan 31 '22 20:01 hans-d

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

rougier avatar Jan 31 '22 21:01 rougier