Bug 426703

Summary: Calendar is vertically resized when I click on another day depending on the length of the date on top
Product: [Plasma] plasmashell Reporter: Patrick Silva <bugseforuns>
Component: Calendar widgetAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: minor CC: nate
Priority: NOR Keywords: junior-jobs
Version First Reported In: 5.19.90   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: screen recording

Description Patrick Silva 2020-09-18 23:24:54 UTC
Created attachment 131755 [details]
screen recording

SUMMARY
if the date on top is too long, a line break occurs and the calendar is vertically resized. Watch the attached screen recording please.

EXPECTED RESULT
calendar size should not change when we click on another day.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.19.90
KDE Frameworks Version: 5.74.0
Qt Version: 5.15.1
Comment 1 Nate Graham 2020-09-23 18:29:00 UTC
When the title text needs to become a multi-line string, we can either resize the popup to be taller, or we can resize the content inside it to be shorter. You think we should do the latter?
Comment 2 Patrick Silva 2020-09-27 11:31:24 UTC
does shorter content mean elided date on top?
If so, I prefer taller popup.
Comment 3 Nate Graham 2020-09-28 14:16:48 UTC
No in both cases, the date string will become multi-line rather than getting elided. When display a multi-line date string, the display options are:

1. Taller popup
2. shorter calendar view inside popup

We have to choose one. Right now we do #1, which you filed a bug report on. :) So I gather you would prefer #2?
Comment 4 Patrick Silva 2020-09-28 14:24:12 UTC
option 2 seems better to me.
Comment 5 Nate Graham 2020-09-28 15:11:56 UTC
OK. :)
Comment 6 Patrick Silva 2021-04-24 12:48:05 UTC
The new calendar already available on neon unstable is not affected. :)

Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.21.80
KDE Frameworks Version: 5.82.0
Qt Version: 5.15.2
Graphics Platform: Wayland