Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alarm symbol in the agenda_event_format overflows line #1336

Open
JBlocklove opened this issue Feb 13, 2024 · 0 comments
Open

Alarm symbol in the agenda_event_format overflows line #1336

JBlocklove opened this issue Feb 13, 2024 · 0 comments

Comments

@JBlocklove
Copy link

JBlocklove commented Feb 13, 2024

Describe the bug:

If the view.agenda_event_format variable has the {alarm-symbol} in it and an event has an alarm, it will push the final character (either the frame or the last character of the description) to the next line.

To Reproduce:

  1. Set view.frame to either color or width
  2. Have a calendar event with an alarm
  3. Highlight that event in the agenda view

Expected behavior:

The frame should bound the agenda with no gaps, regardless of the agenda_event_format variable.

Screenshots:
Took a screencap to better show the issue. Unfortunately GitHub keeps saying the file is corrupted, so I uploaded it to YouTube. Link here: https://youtu.be/fzZ1AT6FZmE

OS, version, khal version and how you installed it:

  • The output of khal --version: khal, version 0.11.3.dev169+g754840c
  • Installation method: PyPI with pipx
  • python version: 3.11
  • OS: Arch Linux on kernel 6.7.4-arch1-1
  • Your khal config file:
[calendars]
   [[Test]]
   	path=~/.local/share/calendarsri/test-calendar/
   	color=auto

[locale]
timeformat = %H:%M
dateformat = %Y-%m-%d
longdateformat = %Y-%m-%d
datetimeformat = %Y-%m-%d %H:%M
longdatetimeformat = %Y-%m-%d %H:%M
firstweekday = 6

[default]
default_calendar = Test
highlight_event_days = true
enable_mouse = false

[highlight_days]
color = ''

[view]
frame = width

Additional context
I made a test calendar with the events shown in the video, including alarms and descriptions.
test-calendar.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant