Bug 280222 - Clock widget does not obey settings and has wrong presentation
Summary: Clock widget does not obey settings and has wrong presentation
Status: RESOLVED DUPLICATE of bug 282688
Alias: None
Product: plasma4
Classification: Plasma
Component: widget-clock (show other bugs)
Version: 4.8.3
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-16 21:14 UTC by Cláudio F. Gil
Modified: 2012-08-07 10:46 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Default layout (145.57 KB, image/png)
2011-08-16 21:14 UTC, Cláudio F. Gil
Details
Layout after disabling events (136.67 KB, image/png)
2011-08-16 21:15 UTC, Cláudio F. Gil
Details
Final and expected layout (61.57 KB, image/png)
2011-08-16 21:15 UTC, Cláudio F. Gil
Details
Default calendar in Portuguese language (66.56 KB, image/png)
2011-12-11 15:47 UTC, Anne-Marie Mahfouf
Details
Calendar without events (70.42 KB, image/png)
2011-12-11 15:55 UTC, Anne-Marie Mahfouf
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Cláudio F. Gil 2011-08-16 21:14:38 UTC
Created attachment 62882 [details]
Default layout

Version:           unspecified (using KDE 4.7.0) 
OS:                Linux

The clock widget shows an events column, to the right. Because of this, in the Portuguese local, the name of the days are not displayed correctly and get cliped. Also since the right column only shows information when hoovering or selecting a particular day I tried to remove it and get the previous default (only the calendar with a decent spacing for the days). 

In the settings, unchecking "Calendar > Show Events" does nothing. Setting all calendars to "Not Used" removes the right pane. Clicking the clock now shows only the calendar but it's very wide since it uses the previous width. I have to try to drag the extender (over and application) and the release it. It gets back into place (drag does not detach it) with the right layout. 

Reproducible: Always

Steps to Reproduce:
At least with PT locale
1. Add Digital Clock to panel
2. Click the Digital Clock (open expander)
3. Open Digital Clock settings 
4. In Calendar section: disable all calendars and uncheck show events.
5. Drag the extender out of place and release it over firefox (for example)

Actual Results:  
2. The name of the weekdays are not displayed correctly since there is not enough space for them. 
4. The calendar becomes very wide.
5. The calendar as an appropriate width.

Expected Results:  
2. The calendar is displayed correctly: minimum width that obeys spacings, does not clip names and does not change while interacting.
4. The calendar has the same width as in 2. but the entire extender is smaller because the events column disappeared.
Comment 1 Cláudio F. Gil 2011-08-16 21:15:07 UTC
Created attachment 62883 [details]
Layout after disabling events
Comment 2 Cláudio F. Gil 2011-08-16 21:15:30 UTC
Created attachment 62884 [details]
Final and expected layout
Comment 3 Burkhard Lück 2011-08-17 04:53:30 UTC
Confirmed with kubuntu 11.04 kde 4.7.0
Comment 4 ultr 2011-12-11 00:52:58 UTC
Bug still present in KDE 4.7.2.
Comment 5 Anne-Marie Mahfouf 2011-12-11 15:46:09 UTC
On master (post 4.8 beta 2) default calendar is OK with pt and in other languages I tested. See attachment.
Comment 6 Anne-Marie Mahfouf 2011-12-11 15:47:49 UTC
Created attachment 66633 [details]
Default calendar in Portuguese language

Please note the calendar is not an extender anymore
Comment 7 Anne-Marie Mahfouf 2011-12-11 15:55:39 UTC
Created attachment 66634 [details]
Calendar without events

It takes all the previous width, yes but why would this be wrong?
Comment 8 ultr 2011-12-11 19:52:12 UTC
Well, I prefer to have the calendar widget as small as possible.
The one from the screenshot 66634 is way to wide in my opinion.

Can't the calendar widget just subtract the width of hidden events list from it's size in this case?
Comment 9 Cláudio F. Gil 2011-12-12 09:23:03 UTC
> It takes all the previous width, yes but why would this be wrong?

I guess it's a matter of user expectations. I'm just one case but I expect the calendar to have the same size (this means same spacing in days, week numbers, widgets, etc) until I do something that explains the change. Showing and removing the events pane should affect, in my mind, only the events pane. I have a name for each region so I see them as independent.

So, why would it be wrong. Because the calendar presentation changes and I have done no action I associate with that change, I have no way of resizing the calendar and it's not even the default layout (the layout I like or, in a more general tone, I got used to seeing).
Comment 10 Manuel López-Ibáñez 2012-07-30 09:08:01 UTC
Dup of 282688 (or viceversa)?
Comment 11 Gregor Tätzner 2012-08-07 10:46:52 UTC

*** This bug has been marked as a duplicate of bug 282688 ***