Bug 399711 - Option to automatically show and hide the date based on available height
Summary: Option to automatically show and hide the date based on available height
Status: CONFIRMED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Digital Clock (show other bugs)
Version: 5.19.0
Platform: Other Linux
: NOR wishlist
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-12 12:32 UTC by Gregor Mi
Modified: 2021-05-15 17:58 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Setting to always show the date (14.38 KB, image/png)
2020-06-17 16:31 UTC, Claudius Ellsel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gregor Mi 2018-10-12 12:32:20 UTC
Currently, by default the date of the Digital Clock plasmoid is not shown, see for example here:

- http://www.ocsmag.com/wp-content/uploads/2018/05/plasma-5-13-desktop-620x349.png

If users increase the panel height, they normally will also want to enable the date display, see here (ignore the screenshot annotations):

- https://i.stack.imgur.com/v5C3x.png
- https://i.stack.imgur.com/0qFgm.png
- https://ixquick-proxy.com/do/spg/show_picture.pl?l=english&rais=1&oiu=https%3A%2F%2Fi.ytimg.com%2Fvi%2FPUW33XSKjik%2Fmaxresdefault.jpg&sp=aa056fc63e33fc935e80a3f8b3ead85e

It would be nice if the date would automatically be displayed once the height of the widget reaches a certain threshold.
Comment 1 Claudius Ellsel 2020-06-10 21:26:18 UTC
Nice suggestion! I thought about even almost always adding the date info, like on Windows.
Comment 2 popov895 2020-06-11 12:35:16 UTC
In this case, there should be an option “Always show the date”, which will allow me to display the date, even if the panel height is less than that threshold.
Comment 3 Claudius Ellsel 2020-06-17 16:31:59 UTC
Created attachment 129458 [details]
Setting to always show the date

There already is an option to always show the date. See the attached screenshot.
Comment 4 popov895 2020-06-17 17:11:24 UTC
I believe there will be three options:
* never show
* always show
* show if possible
Comment 5 Claudius Ellsel 2020-06-17 17:35:36 UTC
Ah, I misunderstood you then.

Also for reference, since this is basically suggesting the same:
https://phabricator.kde.org/D27845#622169

The default value to always display the date can be changed here: https://invent.kde.org/plasma/plasma-workspace/-/blob/master/applets/digital-clock/package/contents/config/main.xml#L19

I suggest as a first measure to change that to be on by default. In a followup that could get expanded to allow automatic fitting as well.
Comment 6 Claudius Ellsel 2020-06-18 13:22:57 UTC
I created https://bugs.kde.org/show_bug.cgi?id=423155 now to be able to treat both solutions separately.