Bug 410330

Summary: Reminder window truncates statically, does not handle column resize properly
Product: [Applications] korganizer Reporter: Philippe Cloutier <chealer>
Component: reminder daemon (korgac)Assignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: gjditchfield
Priority: NOR    
Version: 5.10.3   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Before resizing
After shrinking
After enlarging

Description Philippe Cloutier 2019-07-29 01:12:01 UTC
Created attachment 121804 [details]
Before resizing

Reminder windows do not manage text too long to fit in one of the table's cells properly. When a reminder appears, the incidence's title is compared to the title column's width. If the title is too long, it is truncated with an ellipsis ("..."). Unfortunately, this truncation is done once only, so resizing will break the column:
1. If the column is shrunk, rather than truncating earlier, the title cell will go on 2 lines, even if the incidence stays on one line. As can be seen in screenshot "korganizer column width - reduced.png", this makes the bottom of the second line unreadable.
2. If the column is enlarged, rather than truncating later, the ellipsis won't move. As can be seen in screenshot "korganizer column width - enlarged.png", this makes the part of the title initially hidden impossible to display in that table.

EXPECTED RESULT
When shrinking, either:
1. the title should be truncated earlier
2. or the lines which can't fit the title in the given width should get taller

When enlarging, the ellipsis should move further, or disappear if the new width can fit all contents.

SOFTWARE/OS VERSIONS

Linux: 5.0.0
KDE Plasma Version: 5.15.4
KDE Frameworks Version: 5.56.0
Qt Version: 5.12.2
Comment 1 Philippe Cloutier 2019-07-29 01:12:42 UTC
Created attachment 121805 [details]
After shrinking
Comment 2 Philippe Cloutier 2019-07-29 01:13:22 UTC
Created attachment 121806 [details]
After enlarging
Comment 3 gjditchfield 2022-05-20 22:22:44 UTC
korgac has been replaced by a new reminder daemon, kalendarac, 
which uses desktop notifications to display reminders.