Bug 282688

Summary: Calendar popup has ugly layout
Product: [Unmaintained] plasma4 Reporter: Igor Strelnikoff <Freiheits>
Component: widget-clockAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: annma, bugzilla, chalkerx, claudio.f.gil, creideiki+kdebugs, jmichc, lopezibanez, psychonaut, wstephenson, yu.valery+bugzilla
Priority: NOR    
Version: 4.8.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
See Also: https://bugzilla.novell.com/show_bug.cgi?id=737702
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Fig.1
Fig.2
Fig.3
Fig.4
Fig.5
screenshots of calendar widget in vertical panel

Description Igor Strelnikoff 2011-09-24 14:07:52 UTC
Version:           unspecified
OS:                Linux

In KDE 4.6.h was an old calendar and the calendar which looked very good, but a description of the holiday date to appear in a separate window on top (see figure 2 and 3).

In KDE 4.7.x calendar window has been merged with the box describing the holiday, because of what the calendar window has been heavily compressed, and now does not look very nice on the desktop.(See figure 4)

In this checkbox turns off the display window does not work holidays. (See figure 5)

Also, if you set the menu below does not use the holidays, the calendar is stretched out of proportion (see figure 1).

Reproducible: Didn't try

Steps to Reproduce:
Click on the clock in the taskbar


Expected Results:  
I suggest to place a window above the calendar, holidays, or to place the widget on the side of the button allows you to deploy a fully widget. In the collapsed state is only visible to the calendar and expanded in a region for the holidays.
Comment 1 Igor Strelnikoff 2011-09-24 14:08:29 UTC
Created attachment 63921 [details]
Fig.1
Comment 2 Igor Strelnikoff 2011-09-24 14:08:54 UTC
Created attachment 63922 [details]
Fig.2
Comment 3 Igor Strelnikoff 2011-09-24 14:09:18 UTC
Created attachment 63923 [details]
Fig.3
Comment 4 Igor Strelnikoff 2011-09-24 14:09:45 UTC
Created attachment 63924 [details]
Fig.4
Comment 5 Igor Strelnikoff 2011-09-24 14:10:17 UTC
Created attachment 63925 [details]
Fig.5
Comment 6 Valery Yundin 2011-12-11 23:23:52 UTC
New calendar in 4.7 clock widget is unbelievable, the "event" side panel is wider (!) than the actual calendar. It makes the main function (calendar) hardly usable.

Please make an option to choose old-style 4.6-like calendar look (which was very convenient).
Comment 7 Anne-Marie Mahfouf 2011-12-17 19:39:03 UTC
Git commit 8486aa89f85859262b50ab9944a80bd447a684dc by Anne-Marie Mahfouf.
Committed on 17/12/2011 at 20:36.
Pushed by annma into branch 'master'.

Make string more understandable for users

Users confused Kontact events with holiday events.
Got the permission from i18n
CCBUG=282688

M  +1    -1    libs/plasmaclock/calendarConfig.ui

http://commits.kde.org/kde-workspace/8486aa89f85859262b50ab9944a80bd447a684dc
Comment 8 Will Stephenson 2011-12-19 20:53:43 UTC
Downstream report: https://bugzilla.novell.com/show_bug.cgi?id=737702
Comment 9 JCooper 2012-01-17 05:00:56 UTC
*** This bug has been confirmed by popular vote. ***
Comment 10 JCooper 2012-01-23 00:25:23 UTC
I agree with #6. 

It is difficult to believe that anyone ever thought this calendar pop-up was in any way acceptable, or even usable. It hurts a person's eyes just looking at it. The weekday names are not legible, the size of the calendar does not seem to be adjustable. There is no obvious way to make the week numbers go away. There needs to be a way to disable the right-hand panel entirely. 

Does anyone out there have the authority to ditch this calendar pop-up, and replace it with the old one, before 4.8 hits release?
Comment 11 JCooper 2012-01-23 00:26:08 UTC
I agree with #6. 

It is difficult to believe that anyone ever thought this calendar pop-up was in any way acceptable, or even usable. It hurts a person's eyes just looking at it. The weekday names are not legible, the size of the calendar does not seem to be adjustable. There is no obvious way to make the week numbers go away. There needs to be a way to disable the right-hand panel entirely. 

Does anyone out there have the authority to ditch this calendar pop-up, and replace it with the old one, before 4.8 hits release?
Comment 12 JCooper 2012-01-30 18:11:19 UTC
As the pop-up is appearing for me in 4.8, there has been improvement, in that the calendar is at least legible now. There still needs to be a way to resize both panels of this plasma widget. It is my feeling that it should be possible to completely disable the right-hand panel.
Comment 13 Janet 2012-05-31 12:53:14 UTC
Please add an option to completely get rid of the right calender pane with the events etc. because now it is not possible anymore to use the calender in a vertical panel, it tries to display the right pane one letter below the other. Please add an option to get tooltips for the events etc. For me kontact events and holiday events are "the same", I want them just in a tooltip not in a sidebar.
Comment 14 Janet 2012-05-31 13:05:34 UTC
I just learnt from Bug 281464 that the option to disable the events is NOT for disabling all events which would mean to disable the sidebar as I expected but just for disabling akonadi events. So the option should be labeled with "akonadi events". Nonetheless the calender widget needs an option to disable the right sidebar, at least when the widget is in a wide panel where it is shown as calendar and not as icon.
Comment 15 Janet 2012-05-31 13:33:29 UTC
Created attachment 71462 [details]
screenshots of calendar widget in vertical panel

This is why the widget needs an option to disable the right pane with the events. Instead it should be possible to get tooltips that show the events on mouseover.
Comment 16 Janet 2012-05-31 13:36:54 UTC
Apart from the problem with the panel the widget with its sidebar looks really good and is very handy.
Comment 17 Anne-Marie Mahfouf 2012-06-08 19:01:39 UTC
Git commit e1cf863944696328745df05e650954ef3adf2c06 by Anne-Marie Mahfouf.
Committed on 28/05/2012 at 20:54.
Pushed by annma into branch 'master'.

"events" is too vague for users, change to "PIM events"

M  +1    -1    libs/plasmaclock/calendarConfig.ui
M  +1    -1    libs/plasmaclock/calendarHolidaysConfig.ui

http://commits.kde.org/kde-workspace/e1cf863944696328745df05e650954ef3adf2c06
Comment 18 Anne-Marie Mahfouf 2012-06-08 19:22:42 UTC
ignore the above commit which was reverted
Comment 19 Manuel López-Ibáñez 2012-07-30 08:57:30 UTC
I think a better layout would be:

1. Show just the calendar like done in previous KDE versions.
2. If the user clicks on a day, open a pane (nice slide effect, away from the borders, that is, either to the left or to the top, to not move the calendar under the user's pointer) showing the events for that day.
3. Add a button (X or arrow) to close the pane.

A tooltip can either mention the events or say "Click to display events of this day".

Currently, there is a black square, emtpy most of the time. that is bigger than the calendar (plus the calendar is distorted) and serves no clear purpose until you accidentaly hit a day with some event.
Comment 20 Manuel López-Ibáñez 2012-07-30 09:01:21 UTC
If someone offered some tutoring, I will be willing to give my idea a try. I know C++ but almost nothing about QT and nothing about KDE libraries.
Comment 21 Janet 2012-07-30 09:44:49 UTC
+1 for Comment 19, except that I'd exect the calendar panel to expand to the bottom or left because my panel is at the top. I also have a clock on the desktop, left side. There I would expect the calendar to expand to the right or bottom. I guess, some "AI" is needed here ;).
Comment 22 Gregor Tätzner 2012-08-07 10:46:52 UTC
*** Bug 280222 has been marked as a duplicate of this bug. ***
Comment 23 Myriam Schweingruber 2012-09-07 03:19:50 UTC
*** Bug 280878 has been marked as a duplicate of this bug. ***
Comment 24 Nikita Skovoroda 2016-06-03 21:51:05 UTC
I'm pretty sure this is resolved in KF 5.
Calendar look great now out of the box.
Comment 25 Nikita Skovoroda 2016-06-22 13:19:47 UTC
Fixed in kf5.