Commit Graph

13892 Commits

Author SHA1 Message Date
Aleix Pol
75b1034dd6 Make some space for the radio button
Reviewed by Marco Martin
2015-07-21 18:18:40 +02:00
Aleix Pol
99282d151b Don't show the circular background if there's a menu
Otherwise it's centered on the button instead to the icon and it looks
wrong. Also it's good that we use the rectangular background as it involves
all the button, arrow included.

Reviewed by Marco Martin
2015-07-21 17:30:21 +02:00
Marco Martin
ee94a3ad3e fix parenting and popping up policy 2015-07-21 11:34:01 +02:00
Marco Martin
03560b5a5b declare __editMenu
this makes the patch not fail also on non patched Qt
2015-07-21 10:57:56 +02:00
Kai Uwe Broulik
6098528cd4 Add X-Plasma-NotificationAreaCategory definition 2015-07-20 14:14:52 +02:00
David Rosca
0ffd7681dd Set notifications and osd to show on all desktops
Notification and OnScreenDisplay window types are now shown on all
desktops, same as Dock.

REVIEW: 124355
2015-07-16 17:35:48 +02:00
Bhushan Shah
084d527638 Print useful warning when we can not get valid KPluginInfo
We can not generate proper PluginInfo most likely because metadata was
not valid, printing metadata itself will not be useful and will result
in printing message like,

Could not load plugin info for plugin : "" skipping plugin

Which is 0% useful.
2015-07-16 19:13:44 +05:30
Marco Martin
3689d5472f add missing cursot handles delegates 2015-07-16 15:40:16 +02:00
Marco Martin
797c622f7f whitespace-- 2015-07-16 15:33:34 +02:00
Marco Martin
eef99055e6 rewrite the EditMenu implementation
license reasons
2015-07-16 15:26:18 +02:00
Dan Vrátil
2b31836bdc Fix potential endless recursion in PlatformStatus::findLookAndFeelPackage()
The LookAndFeel entry does not exist in kdeglobals (it's called LookAndFeelPackage),
so when the configured LnF package is removed or renamed, the code will go to
endless loop because it never clears the configuration ine kdeglobals correctly.

REVIEW: 124371
2015-07-16 15:12:45 +02:00
Marco Martin
9e318ed6d9 use the mobile menu only conditionally 2015-07-16 13:52:46 +02:00
Marco Martin
b88f84e703 reparent the menu to root
this makes the menu to be corectly positioned and correct Z
it may happen of menus not getting deleted in dynamic cases such as
 things in pagestacks
2015-07-16 12:51:03 +02:00
Marco Martin
7525a0db40 experimental brnch for inline edit menu 2015-07-15 19:23:30 +02:00
Kai Uwe Broulik
81dbda8e17 Rename software-updates.svgz to software.svgz
Plasma only looks for the section before the first dash.
Fixes not being able to use software-updates-foo icons
2015-07-13 20:12:39 +02:00
l10n daemon script
1b8960c382 Upgrade KF5 version to 5.13.0. 2015-07-10 10:25:06 +00:00
Kai Uwe Broulik
5cf9c04ff5 Also check for SharedEngineView
With the move to a shared QML engine infrastructure, the check for whether the
focus item is a View no longer held and thus Plasma dialogs stayed opened when
clicking the Desktop to dismiss them.

CHANGELOG: Dialogs like Kickoff now properly close when clicking the Desktop
BUG: 349172
REVIEW: 124260
FIXED-IN: 5.13
2015-07-05 15:23:34 +02:00
l10n daemon script
5cd125eb24 Upgrade ECM and KF5 version requirements for 5.12.0 release. 2015-07-04 20:45:09 +00:00
Marco Martin
0cdd928376 make the dark theme completely dark, also the complementary group 2015-06-24 14:09:33 -07:00
Marco Martin
fef51e71d6 cache naturalsize separately by scalefactor
solves some highdpi issues
saves and reads natural sizes separed by scalefactor
so they don't get mixed up when the scaefactor changes
resulting in wrongly sized items

reviewed-by:David Edmundson <david@davidedmundson.co.uk>
2015-06-24 10:38:53 -07:00
Marco Martin
b2b1c93fac give fullrepresentation a parent immediately
like compactRepresentationItem, initialize it
with the appletInterface as parent at creation
not having any moment without parents
2015-06-18 18:29:14 -07:00
Vishesh Handa
2dbeea4d23 ContainmentInterface: Move to lambda to a private slot
The containment interface deletion order isn't clear. It can happen that
it is deleted before the application quits, and then this lambda is
called, and its accesses internals of the class even though it has been
deleted.

Reviewd-By: Marco Martin
2015-06-19 01:07:24 +02:00
Vishesh Handa
c77377221b ContainmentView: Do not crash on an invalid corona metadata
On launching `plasmashell -wap notExistingName`, it's better to give a
warning instead of crashing.
2015-06-19 00:03:20 +02:00
Vishesh Handa
9976edcbc9 AppletQuickItem: Do not access KPluginInfo if not valid
When loading an applet which does not exist, we create a dummy applet
which just contains the error message. This dummy does not have a valid
KPluginInfo, and using an invalid KPluginInfo causes as assert to be
hit.

Reviewed-By: Marco and Sebas
2015-06-18 23:36:28 +02:00
Marco Martin
aa52188364 use ColorScope 2015-06-18 11:42:09 -07:00
Kai Uwe Broulik
ac04b5570a Ignore invalid X-Plasma-ConfigPlugins
CHANGELOG: Fix occasional empty applet config pages

CCBUG: 349250
REVIEW: 124113
2015-06-17 18:28:12 +02:00
Martin Klapetek
5165d6574e [calendar] Ensure the grid is repainted on theme changes
Change-Id: If6e6144fa3aa691628c3ba2c053f3e848da8498d
2015-06-15 16:39:03 +02:00
Martin Klapetek
23add5d6e4 [calendar] Refactor the Calendar grid computation a bit
Makes the code a bit simpler & lighter and fixes the sometimes missing
bottom line in calendar.

The grid is now equally padded from both sides (including the month
name), so basically it's now always aligned to the center and this also
fixes the cases where there was a bigger padding on one side than on the
other.

The grid is now also anchored to the bottom so that the bottom margin
can stay moreless consistent with the side margins in different sizes.

Change-Id: I2f2173d11e473d6e93db2bdca002269e4239f516
REVIEW: 124072
CHANGELOG: Improve hidpi support in the Calendar grid component
2015-06-15 16:35:32 +02:00
Marco Martin
f9d4f3d836 don't destroy the window 2015-06-14 12:30:57 -07:00
David Edmundson
99da4651c3 Verify KService has valid plugin info before using it
Change-Id: I361bb9f49e9fab108e524e5d321d114fd1fc4aae
REVIEW: 124062
2015-06-14 10:16:54 -07:00
l10n daemon script
131b3ae33d Upgrade KF5 version to 5.12.0. 2015-06-12 22:40:51 +00:00
Marco Martin
6b633de572 destroy native window on hide 2015-06-11 21:29:10 -07:00
Marco Martin
839dc2c3df write in the qmlobj rootcontext, not global
use a private rootcontext for each wallpaper, or they would
share config
2015-06-11 18:13:30 -07:00
Marco Martin
34935428e8 correctly scale up svgs
scale the natural size as well as sizes
this makes hugh dpi ratios to be more uniformly scaled
2015-06-11 18:01:53 -07:00
Martin Klapetek
bc0280ddb0 [calendar] Always start counting weeks from Monday
Sometimes the first day in the grid can be Sunday, but the week number
must always be counted from Monday in that week

BUG: 349044
Change-Id: I903650fcaadb4fd78764ad6a8bb1e219261c791b
FIXED-IN: 5.11
2015-06-12 01:11:11 +02:00
Marco Martin
c60ca1b6a0 immediately parent objects
don't let representations without parents, avoid
possible leaks and fix cases in which the applet relies
on ht eparent hyerarchy, such as ColorContext
2015-06-10 22:39:22 -07:00
Jan Kundrát
eb4edb0e9e Fix build on Qt 5.2
The QJsonArray::operator<<(const QJsonValue &) is a 5.3 thing.

Change-Id: Ia183cf55bed764747dbba727346f18df396affeb
2015-06-10 18:55:18 +02:00
Marco Martin
13bd6703c0 Merge branch 'mart/singleQmlEngineExperiment'
REVIEW:123736
2015-06-10 09:05:46 -07:00
Martin Klapetek
c98f356fc6 [calendar] Repaint the grid when show week numbers setting changes
Change-Id: I5ec923ed62492afe9a6db24db5085ca98849a5e6
2015-06-10 14:37:20 +02:00
Kai Uwe Broulik
d65c0ed1d0 Bind translucent theme to background contrast rather than blur effect
Only the background contrast effect provides real contrast for contents, the blur effect
doesn't improve readability that much; so we now use the translucent theme only when we
have the background contrast effect. This significantly improves readability.

CHANGELOG: An opaque theme is now used when only the blur effect is available
REVIEW: 124039
BUG: 342934
BUG: 348154
2015-06-08 17:30:38 +02:00
Dan Vrátil
afd962a15b Fix crash when QGuiApplication::primaryScreen() returns a null pointer
There can be a situation when changing resolution/scaling or some other screen
property that driver/XRandR decides to turn the screen off temporarily, during
which there are no screens and QGuiApplication::primaryScreen returns a null
pointer.

Approved-by: David Edmundson
2015-06-06 16:06:51 +02:00
l10n daemon script
e235affc6b Upgrade ECM and KF5 version requirements for 5.11.0 release. 2015-06-06 09:35:07 +00:00
Martin Klapetek
70cf70be3a Fix typo in ToolTipArea documentation
Change-Id: I6a823b1356099f364d0bd59e3f3a0daa137f1ae7
2015-06-05 14:34:56 +02:00
Martin Klapetek
5caba3cfaf [calendar] Add week numbers in Calendar components
Change-Id: Ie46b9b9c1e6035a9b2933362227d3c8fcd30a10e
REVIEW: 124004
CCBUG: 338195
CHANGELOG: Calendar components can now display week numbers
2015-06-05 14:34:05 +02:00
l10n daemon script
a989a77a0d 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"
2015-06-03 10:14:00 +00:00
Marco Martin
a2e223c1ad use PlasmaCore.ColorScope in needed places
standard controls should work better in inverted color scopes

Change-Id: I3d10a195cb0ae0b2f2fbbcca21fc6f87f99e7cfc
2015-05-28 12:51:30 +02:00
Marco Martin
eca200f67e use color contexts
Change-Id: Iea8cc397ddd431c61390ddc70c3fab808ef9f72f
2015-05-27 18:18:50 +02:00
l10n daemon script
9ea35bd26d 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"
2015-05-27 10:14:57 +00:00
Marco Martin
cc97bd8297 most entries are not kcms, fail gracefully
don't spit scary errors when an entry has an empty plugin path,
ie not a kcm

Change-Id: I1f2cc744aaed315ae3dd56d5a55082eb09a5ed6e
2015-05-26 15:45:34 +02:00
Jaroslaw Staniek
1fcdc08222 Missing "or" when looking for .cmake and CMakeLists.txt files
REVIEW:123902
2015-05-25 16:30:43 +02:00