Bug 410330 - Reminder window truncates statically, does not handle column resize properly
Summary: Reminder window truncates statically, does not handle column resize properly
Status: RESOLVED UNMAINTAINED
Alias: None
Product: korganizer
Classification: Applications
Component: reminder daemon (korgac) (show other bugs)
Version: 5.10.3
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-29 01:12 UTC by Philippe Cloutier
Modified: 2022-05-20 22:22 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Before resizing (79.29 KB, image/png)
2019-07-29 01:12 UTC, Philippe Cloutier
Details
After shrinking (80.50 KB, image/png)
2019-07-29 01:12 UTC, Philippe Cloutier
Details
After enlarging (79.36 KB, image/png)
2019-07-29 01:13 UTC, Philippe Cloutier
Details

Note You need to log in before you can comment on or make changes to this bug.
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.