Commit Graph

15185 Commits

Author SHA1 Message Date
Nate Graham
6081898626 Bump the theme versions because icons changed, to invalidate old caches 2019-02-18 12:29:21 -07:00
Krešimir Čohar
e1248d68c2 [breeze-icons] Revamp system.svgz
Summary: This patch adds new icons for the action buttons modified/added in D18893, and gives the suspend hibernate and switch user icons a makeover.

Test Plan:
{F6621871}

Other..: {F6621331} {F6621867}
List Users: {F6615519} {F6621869}

Reviewers: #vdg, #plasma, ngraham, abetts

Reviewed By: #vdg, ngraham

Subscribers: filipf, trickyricky26, ndavis, broulik, kde-frameworks-devel

Tags: #frameworks

Differential Revision: https://phabricator.kde.org/D19020
2019-02-18 20:32:56 +01:00
l10n daemon script
937f2ccc15 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2019-02-17 05:32:17 +01:00
Björn Feber
bb643e99c3 Make Breeze theme tooltip texts consistent 2019-02-15 19:53:00 +01:00
l10n daemon script
9a79694009 GIT_SILENT Upgrade KF5 version to 5.56.0. 2019-02-09 13:11:35 +00:00
Noah Davis
054b494bb3 Change glowbar.svgz to smoother style
Summary:
The old style was weird. When the screen edge feature was enabled for the sides of screens, it looked like a bunch of dots smooshed together. Now it's one smooth bar.
BUG: 391343
FIXED-IN: 5.56

Test Plan:
Before {F6599392} {F6599445, size=full}
After {F6599389} {F6599444, size=full}

Reviewers: #vdg, rooty

Reviewed By: rooty

Subscribers: rooty, rapiteanu, kde-frameworks-devel

Tags: #frameworks

Differential Revision: https://phabricator.kde.org/D18834
2019-02-08 03:57:03 -05:00
Kai Uwe Broulik
7ca1f01ea9 Do background contrast fallback at runtime
When a theme doesn't supply background contrast values, we take an educated guess based on whether it's a dark or light theme.
We didn't update the values when switching only color schemes at runtime (when theme follows it).
This lead to washed out Plasma popup and panel backgrounds. Instead, compute the fallback value at runtime.
Also, while at it, update complimentary colorscheme as well, which was forgotten here.

BUG: 401142

Differential Revision: https://phabricator.kde.org/D18487
2019-02-07 16:37:55 +01:00
Krešimir Čohar
dda4edcc6e [breeze desktop theme/dialogs] Add rounded corners to dialogs
Summary:
This patch aims to make the corners of the dialog/notification backgrounds (dialogs/background.svgz) more rounded and more in keeping
with the Breeze window decoration theme.

Test Plan:
Before: {F6568854}
After: {F6568855}

Before (Breeze Dark, no //Background contrast effect//): {F6569235}
After (Breeze Dark, no //Background contrast effect//): {F6569236}

Using the Background Contrast Kwin effect adds a weird dark background to all the dialogs and the corners aren't rounded anymore:
{F6568856} and these strange dots appear instead (a rectangle bleeding through?)
{F6568352}

Reviewers: #vdg, ngraham

Reviewed By: #vdg, ngraham

Subscribers: zzag, davidedmundson, Codezela, filipf, kde-frameworks-devel

Tags: #frameworks

Differential Revision: https://phabricator.kde.org/D18545
2019-02-05 16:59:43 +01:00
Aleix Pol
901ae40834 Fix warning
Summary: org/kde/plasma/components.3/TextArea.qml:54:5: Unable to assign [undefined] to QQmlComponent*

Reviewers: #plasma, broulik

Reviewed By: #plasma, broulik

Subscribers: kde-frameworks-devel

Tags: #frameworks

Differential Revision: https://phabricator.kde.org/D18630
2019-02-04 22:35:25 +01:00
l10n daemon script
46496ccf14 GIT_SILENT Upgrade ECM and KF5 version requirements for 5.55.0 release. 2019-02-02 17:24:58 +00:00
l10n daemon script
543b468be3 GIT_SILENT Upgrade KF5 version to 5.55.0. 2019-02-02 13:21:12 +00:00
l10n daemon script
3d5a10783e SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2019-01-29 05:32:51 +01:00
Friedrich W. H. Kossebau
fcfc201c8d Use more https in links (& update a few urls)
GIT_SILENT
2019-01-19 16:36:59 +01:00
Friedrich W. H. Kossebau
f423f65bfd [Wallpaper templates] Add missing Comment= entry to desktop file 2019-01-19 16:10:35 +01:00
Friedrich W. H. Kossebau
1eb3b7ccaa Remove explicit use of ECM_KDE_MODULE_DIR, part of ECM_MODULE_PATH
GIT_SILENT
2019-01-19 16:09:29 +01:00
Kai Uwe Broulik
8c50991407 [Plasma Theme] Use new connect syntax
Saves some cycles

Differential Revision: https://phabricator.kde.org/D18356
2019-01-18 12:34:06 +01:00
Kai Uwe Broulik
eac69e0469 Share Plasma::Theme instances between multiple ColorScope
Especially since the Theme isn't modified in any way but just used to read some data.
While the Private part of Theme is already shared, creating a Theme instance still has some setup cost.

Differential Revision: https://phabricator.kde.org/D18149
2019-01-18 12:24:21 +01:00
Nate Graham
d755013c74 Make the clock svg's shadows more logically correct and visually appropriate
Summary:
This patch gives the clock's hour hand a shadow for the spindle too, since the shadow model we're using should logically have the spindle casting a shadow.

It also also increases the height of the minute hand shadow since its current length is short enough that it sometimes doesn't connect to anything.

CCBUG: 396612

Test Plan:
Before: {F6551256}

After: {F6551257}

There are no visual changes whatsoever because the hour hand shadow is not currently displayed (See D17751 for background)

Reviewers: #vdg, #plasma, davidedmundson

Reviewed By: #plasma, davidedmundson

Subscribers: kde-frameworks-devel

Tags: #frameworks

Differential Revision: https://phabricator.kde.org/D18288
2019-01-16 09:43:48 -07:00
Filip Fila
fdc9124687 [frameworks] Do not use light font styles for headings (1/3)
Summary:
This patch turns off light font styles for some headings because they cause visual and legibility issues, as explained in the respective bug report.

BUG: 402730

FIXED-IN: 5.54

Test Plan:
**//Worst case scenario testing//** - font does not have a "light" variant and falls back to using a thinner one such as "hairline"

**Before:**
{F6520036}

{F6520035}

{F6520034}

**After:**
{F6520039}

{F6520038}

{F6520037}

**//Plasma defaults testing//**

**Before**:
{F6520778}

{F6520777}

{F6520776}

**After:**
{F6520781}

{F6520780}

{F6520779}

Reviewers: ngraham, #plasma, #vdg, #frameworks

Reviewed By: ngraham, #vdg

Subscribers: #frameworks, #plasma, #vdg, ngraham, abetts, kde-frameworks-devel

Tags: #frameworks

Differential Revision: https://phabricator.kde.org/D17905
2019-01-10 09:14:26 -07:00
Kai Uwe Broulik
b257029afc [Dialog] Don't alter mainItem's visibility
The item's visible property is independent of the window visibility, which can be checked using Window.visible.

Differential Revision: https://phabricator.kde.org/D17543
2019-01-10 12:14:32 +01:00
Kai Uwe Broulik
f4bd4a6131 Reset parentItem when mainItem changes
Otherwise we'll keep piling up custom tooltip items in the dialog. They're invisible but they're still there.

Differential Revision: https://phabricator.kde.org/D17542
2019-01-10 12:12:06 +01:00
Albert Astals Cid
39aa628e17 Remove Qt version check
Now that Qt 5.10 is the minimum required version
2019-01-07 00:35:45 +01:00
Albert Astals Cid
a9f8c1eacc GIT_SILENT Upgrade Qt5 version requirement to 5.10.0. 2019-01-07 00:23:14 +01:00
l10n daemon script
8339575e58 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2019-01-06 05:32:12 +01:00
l10n daemon script
4d491d4e04 GIT_SILENT Upgrade ECM and KF5 version requirements for 5.54.0 release. 2019-01-04 21:45:29 +00:00
Chris Holland
e5949866bb [Calendar] Expose firstDayOfWeek in MonthView
This allows for calendar widgets to override the Locale. Users may
want to start the week on a Sunday, Saturday, or Monday without
changing their locale's date formatting.

CCBUG: 390330

Differential Revision: https://phabricator.kde.org/D15321
2019-01-03 16:58:58 -05:00
Laurent Montel
03fbd3318b Add override 2019-01-03 21:42:30 +01:00
l10n daemon script
f1ec1433c8 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2018-12-24 05:20:13 +01:00
Noah Davis
2f99869c10 Add preferences-system-bluetooth-battery to preferences.svgz
Summary: It's exactly the same as the regular 32px bluetooth icon in this file, but D17346 needs it.

Reviewers: #vdg, #plasma, broulik, ngraham

Reviewed By: #vdg, #plasma, broulik, ngraham

Subscribers: kde-frameworks-devel

Tags: #frameworks

Differential Revision: https://phabricator.kde.org/D17505
2018-12-13 02:18:02 -05:00
l10n daemon script
2838cdc0fd SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2018-12-12 06:05:39 +01:00
Shubham Jangra
e3aa2cf840 Fix comparision between signed and unsigned integer warning 2018-12-12 00:07:21 +05:30
Shubham Jangra
c017d3a693 Merge branch 'master' of git://anongit.kde.org/plasma-framework 2018-12-11 23:47:56 +05:30
Shubham Jangra
1bba82535c Fix unused parameter warning 2018-12-11 23:47:39 +05:30
l10n daemon script
10da21cf3c GIT_SILENT Upgrade KF5 version to 5.54.0. 2018-12-09 11:08:02 +00:00
l10n daemon script
a535d49e09 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2018-12-03 05:31:39 +01:00
Albert Astals Cid
10585c5999 GIT_SILENT Upgrade CMake version requirement to 3.5. 2018-12-01 23:59:59 +01:00
l10n daemon script
e60eb9c9f3 GIT_SILENT Upgrade ECM and KF5 version requirements for 5.53.0 release. 2018-12-01 14:42:40 +00:00
Laurent Montel
e7329b95ed Use isEmpty() 2018-11-30 07:58:34 +01:00
Laurent Montel
7931bdccdd Remove virtual keyword 2018-11-30 07:58:34 +01:00
Marco Martin
52ba5871b1 same behavior as qwidgets comboboxes
popup opens on press, moving the cursor over items and releasing
actually triggers it.
Same logic as in the desktop style
2018-11-29 13:57:35 +01:00
Marco Martin
e4c2f65c95 feature parity of Menu with the Desktop style 2018-11-28 16:35:43 +01:00
Marco Martin
2880333aab default values for tooltips
same policy as the tooltips in desktop style
2018-11-28 13:02:38 +01:00
Marco Martin
030159571c make sure flickables are pixelaligned 2018-11-26 14:54:36 +01:00
Aleix Pol
909364dfca Simplify reference counting of FrameData
Summary:
Leverages QSharedPointer for the reference counting.
Keeps the last value of the cacheId, as it can change sometimes and crash
the system.

Reviewers: #plasma, #frameworks, zzag

Reviewed By: #plasma, zzag

Subscribers: mart, zzag, kde-frameworks-devel

Tags: #frameworks

Differential Revision: https://phabricator.kde.org/D17052
2018-11-22 19:09:13 +01:00
Marco Martin
3e76176bdd less spacing 2018-11-22 11:00:20 +01:00
Kevin Funk
421e1c0126 ASAN: Fix memory leak in CalendarPlugin
Trace:
Indirect leak of 24 byte(s) in 1 object(s) allocated from:
    #0 0x508a17 in __interceptor_malloc (/home/kfunk/devel/install/kf5/bin/plasmashell+0x508a17)
    #1 0x7fcf92aa6230 in QHashData::allocateNode(int) /home/kfunk/devel/src/qt5.11/qtbase/src/corelib/tools/qhash.cpp:479:79
    #2 0x7fcf7a851d10 in QHash<int, QByteArray>::detach() /home/kfunk/devel/build/qt5.11/qtbase/include/QtCore/../../../../../src/qt5.11/qtbase/src/corelib/tools/qhash.h:275:51
    #3 0x7fcf7a8519c9 in QHash<int, QByteArray>::insert(int const&, QByteArray const&) /home/kfunk/devel/build/qt5.11/qtbase/include/QtCore/../../../../../src/qt5.11/qtbase/src/corelib/tools/qhash.h:769:5
    #4 0x7fcf7a859736 in EventPluginsModel::EventPluginsModel(EventPluginsManager*) /home/kfunk/devel/src/kf5/plasma-framework/src/declarativeimports/calendar/eventpluginsmanager.cpp:42:17
    #5 0x7fcf7a854c55 in EventPluginsManager::EventPluginsManager(QObject*) /home/kfunk/devel/src/kf5/plasma-framework/src/declarativeimports/calendar/eventpluginsmanager.cpp:185:19
    ...

Subscribers: kde-frameworks-devel

Tags: #frameworks

Differential Revision: https://phabricator.kde.org/D17031
2018-11-20 15:15:59 +01:00
Kevin Funk
fbfc9bdebb ASAN: Fix memory leak in DataSource
Trace:
Direct leak of 216 byte(s) in 27 object(s) allocated from:
    #0 0x544cc0 in operator new(unsigned long) (/home/kfunk/devel/install/kf5/bin/plasmashell+0x544cc0)
    #1 0x7fb2e9cd77d9 in Plasma::DataSource::setEngine(QString const&) /home/kfunk/devel/src/kf5/plasma-framework/src/declarativeimports/core/datasource.cpp:93:28
    #2 0x7fb2e9d5c8f1 in Plasma::DataSource::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) /home/kfunk/devel/build/kf5/plasma-framework/src/declarativeimports/core/corebindingsplugin_autogen/EWIEGA46WW/moc_datasource.cpp:330:21
2018-11-20 15:15:42 +01:00
Kevin Funk
d13f9e6f85 ASAN: Fix memory leak in Corona
KPackagePrivate::internalPackage already existed, the re-assignment to a
new value causes a memory leak.

Trace:
Indirect leak of 112 byte(s) in 1 object(s) allocated from:
    #0 0x544cc0 in operator new(unsigned long) (/home/kfunk/devel/install/kf5/bin/plasmashell+0x544cc0)
    #1 0x7f905829163f in KPackage::Package::Package(KPackage::PackageStructure*) /home/kfunk/devel/src/kf5/kpackage/src/kpackage/package.cpp:51:9
    #2 0x7f9058fad786 in Plasma::Package::Package(Plasma::PackageStructure*) /home/kfunk/devel/src/kf5/plasma-framework/src/plasma/package.cpp:66:34
    #3 0x7f9058f14dee in Plasma::Corona::package() const /home/kfunk/devel/src/kf5/plasma-framework/src/plasma/corona.cpp:78:13
    #4 0x5d9eb9 in ShellCorona::ShellCorona(QObject*) /home/kfunk/devel/src/kf5/plasma-workspace/shell/shellcorona.cpp:132:70
    #5 0x65c31d in ShellManager::loadHandlers() /home/kfunk/devel/src/kf5/plasma-workspace/shell/shellmanager.cpp:93:21
2018-11-20 15:15:42 +01:00
Kevin Funk
e3eafabd55 ASAN: Fix leak in AppletQuickItem
Direct leak of 3960 byte(s) in 15 object(s) allocated from:
    #0 0x544cc0 in operator new(unsigned long) (/home/kfunk/devel/install/kf5/bin/plasmashell+0x544cc0)
    #1 0x7f0dd8a3e2bd in PlasmaQuick::AppletQuickItem::AppletQuickItem(Plasma::Applet*, QQuickItem*) /home/kfunk/devel/src/kf5/plasma-framework/src/plasmaquick/appletquickitem.cpp:472:9
    #2 0x7f0dcb7b365b in AppletInterface::AppletInterface(DeclarativeAppletScript*, QList<QVariant> const&, QQuickItem*) /home/kfunk/devel/src/kf5/plasma-framework/src/scriptengines/qml/plasmoid/appletinterface.cpp:50:7
    #3 0x7f0dcb7aede1 in DeclarativeAppletScript::init() /home/kfunk/devel/src/kf5/plasma-framework/src/scriptengines/qml/plasmoid/declarativeappletscript.cpp:87:27
    ...
2018-11-20 15:15:42 +01:00
l10n daemon script
044d3472c2 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2018-11-20 05:36:28 +01:00