Right now we are bodging the track label into being this, but it looks
bad and doesn't use the standardized component, which it should. So now
it does.
BUG: 444322
FIXED-IN: 5.24
Background image and album art image sometimes do not display at the same
time because there are two Image instances referring to the same path, but
cache will not work because they are loaded simultaneously. Use ShaderEffect
instead of another Image instance to provide the background to fix the bug.
Use State and PropertyChanges to avoid unnecessary reevaluation of width
and height of albumArtBackground.
BUG: 439753
FIXED-IN: 5.23
We get `sourceRemoved` emitted before the source is actually removed
from the list.
This is a change from 5984d4960fa5ecf60a20b1fbc782fb841faa4af7
in plasma-framework but better be safe than sorry.
BUG: 439309
FIXED-IN: 5.23.3
We ported units to use the PlasmaCore.Units singleton earlier; now it's
time to do the same thing for PlasmaCore.Theme.
There are no UI changes or regressions detected.
Doing so takes up extra space and I don't think it's useful information
anyway. If there's only one media player going, the user already knows
which one it is.
Qt 5.15 introduced new syntax for defining Connections. Fix warnings like this one:
QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
Only remove the padding from the tabbar item, to keep the layout centered,
so new elements can be added seamlessly.
The tabbar delegates are also centered on the view by adding this padding
to the top, and removing it from the bottom.
The player buttons looked a bit too close to the footer to my eye. This
commit adds some more whitespace under them to match the whitespace
above them.
This begins the process of porting plasma-workspace to PlasmaComponents3. At
this point, only the relatively easy work is done. Every file not ported
now has been given the reason for still using PC2 in a comment on the import
line so you can see at a glance what the blocker is by running
`grep -r "org.kde.plasma.components 2.0"` in the repo.
Everything is tested and there are no breakages or functional regressions. In
the process, a few unused imports are removed.
Here are the remaining PC3 omissions blocking what's left from getting easily
ported:
- No Highlight
- No ListItem
- No PageStack
- No ContextMenu
- No QueryDialog
- No ModelContextMenu
- TabBar has no left and right tab states
- ToolButton has no built-in method to show a menu when clicked
Many applets shouldn't actually appear on the phone, like
devicenotifier, the battery applet, the systray and so on
Populate all desktop files of the plasmoids with the proper
formfactors. on the desktop we keep showing everything.
on the phone most of those applets will be filtered out
Also take into account of the formfactors when populating the available
categories, wo we don't have the risk of seeing empty categories
With swrast (llvmpipe) the artwork blurring is enabled, which takes an eternity
(up to ~15s) to compile the shader. Improve that by only using half the
samples with half the radius, which looks nearly identical.
Summary:
Icon of Media Player applet is missing in the System Tray settings when
the media playing has a cover. Such icon is present when nothing is playing.
Fix by not using album art in any case - icon is not longer used in
tooltip, can be static.
BUG: 420197
FIXED-IN: 5.19.0
Test plan:
1. play audio/video with a player compatible with Media Player applet
2. open system tray settings during playback
3. Icon of Media Player applet is always present in system tray
settings, regardless of state.
Summary: Now the song text can't almost touch the right edge.
Test Plan: {F8256425}
Reviewers: cblack, #vdg, #plasma, broulik
Reviewed By: #plasma, broulik
Subscribers: plasma-devel
Tags: #plasma
Differential Revision: https://phabricator.kde.org/D29143
We don't show icons on tooltips anymore.
And the System Tray config doesn't show images.
BUG: 420197
FIXED-IN: 5.19.0
Differential Revision: https://phabricator.kde.org/D28917
Summary:
The media controller has been adjusted visually. Note that this is marked as WIP due to the fact that the system tray displays margins around the applet, which doesn't look too good.
Co-authored-by: Ismael Asensio <isma.af@gmail.com>
Depends on D28089
Test Plan:
Before:
{F8085938}
After:
{F8089034}
Reviewers: #vdg, #plasma, manueljlin, ngraham, broulik!
Reviewed By: #vdg, #plasma, ngraham
Subscribers: kmaterka, iasensio, ndavis, broulik, gvgeo, davidedmundson, ngraham, manueljlin, plasma-devel
Tags: #plasma
Maniphest Tasks: T10470
Differential Revision: https://phabricator.kde.org/D27160