Ivailo Monev
6a60591ff2
kdeplasma-addons: use KMessageWidget instead of KMessageBox for the weather configuration error
...
also not emitting the configValueChanged() signal while searching to not
trigger changes on the weather applet side while that is happening (after
search the source will be changed after selecting location item)
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-17 03:33:04 +03:00
Ivailo Monev
38b89a77ad
kdeplasma-addons: rework location widget behaviour
...
by not using the location widget to display error and by not setting the
line edit widget text behind the back of KComboBox a lot of quirks are
fixed
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-17 02:43:48 +03:00
Ivailo Monev
039629b6db
kcalc: change the buttons palette instead of using style sheet
...
plus something to fix (or improve) - when a color is dropped onto
buttons the color is changed but does not persist trough kcalc restart
regardless if custom button color is set or not
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-17 02:08:44 +03:00
Ivailo Monev
94dfed3125
kget: remove borked and disabled panelbar applet
...
kget usually sits in the tray (on the panel), ready to be clicked
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-17 01:23:44 +03:00
Ivailo Monev
b4c1ff1847
filelight: always use qSin() and qCos() for calculations
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-16 20:02:29 +03:00
Ivailo Monev
9eb152aae6
kdeplasma-addons: change the weather location widget index only if the pre-location index is found
...
when a source is set is not added as item to the location widget (see
WeatherConfig::setSource())
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-16 19:34:58 +03:00
Ivailo Monev
8558ee30fe
kdeplasma-addons: use the plasma theme wallpaper as default for weather wallpaper
...
none of the referenced wallpapers is installed or maintained by Katana
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-16 04:04:25 +03:00
Ivailo Monev
6a6038b3f5
kdeplasma-addons: adjust weather wallpaper to recent changes
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-16 03:34:54 +03:00
Ivailo Monev
e4b67f8165
kdeplasma-addons: add the default and validated sources to the weather location widget
...
for reference:
https://github.com/fluxer/katana/issues/26
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-16 03:13:25 +03:00
Ivailo Monev
d42137e272
kdeplasma-addons: emit all valid sources from WeatherLocation
...
so that all default and validated sources can (potentially, eventually) be
shown in the configuration location widget
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-16 02:26:21 +03:00
Ivailo Monev
573b7e2fa8
kdeplasma-addons: rework weather configuration to validate via specifiec ion
...
because different applets use data that is provided by different ion, for
example wettercom provides forecast while noaa provides wind conditions.
on a side note noaa uses mostly station names rather than city names so
expect applects that default to noaa ion to require configuration by
default in most cases
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-16 01:44:44 +03:00
Ivailo Monev
94848a3941
kget: do not attempt actions that require network when the KNetworkManager status is unknown
...
see the following commit kde-workspace repo:
66ad0076b14393b3fe84cc056e329086f2a2b996
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-15 23:28:44 +03:00
Ivailo Monev
c6604da779
kdeplasma-addons: search for location when return is pressed while the weather location widget has focus
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-15 20:56:10 +03:00
Ivailo Monev
173699edc7
kdeplasma-addons: fill the weather configuration locations widgets with default (valid) locations
...
for reference:
https://github.com/fluxer/katana/issues/26
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-15 20:38:39 +03:00
Ivailo Monev
c52c3b15a8
kdeplasma-addons: sort the geo data by accuracy in WeatherLocation::dataUpdated()
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-15 12:21:53 +03:00
Ivailo Monev
002bf61331
kdeplasma-addons: stop emitting the finished signal of WeatherLocation once a valid source is found
...
how valid the source is is entirely different thing, more than one
weather source can match a given location (look for "multiple" in the ions
and think why it is a thing)
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-15 11:18:37 +03:00
Ivailo Monev
7bb0c86cf6
kdeplasma-addons: parent the weather validator to the weather location finder
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-15 11:07:37 +03:00
Ivailo Monev
7f129d6c3e
kdeplasma-addons: attempt to validate all locations
...
out of 4 geolocation data engine providers 3 provide data for the city,
requires the following commit from kde-workspace:
d28608da5bb8b874cad1c6a9b50a5b9bfb358317
for reference:
https://github.com/fluxer/katana/issues/26
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-15 09:34:45 +03:00
Ivailo Monev
80fa18c5e3
kget: drop mmsthreads transfer plugin
...
see 702d9b67aaa6ee2d79934c1ab3de2d8d7718c89c in kdelibs
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-15 02:20:22 +03:00
Ivailo Monev
ceaacbb460
generic: adjust to KUniqueApplication changes
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-13 18:24:25 +03:00
Ivailo Monev
3edb2cc356
kdeplasma-addons: fix plasmaweather busy timer races
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-12 12:42:53 +03:00
Ivailo Monev
cd3321bf6f
kdeplasma-addons: remove unused WeatherConfig::getNewStuff() method
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-12 12:40:36 +03:00
Ivailo Monev
d68c32f163
kdeplasma-addons: remove unused dict applet bits
...
because the previous dict data engine source became not a thing the dict
data engine was reimplemented and now supports only english (en)
dictionary, also qstardict is not a valid data engine
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-12 06:51:21 +03:00
Ivailo Monev
353a6dbf0c
kdeplasma-addons: drop broken dictionary runner
...
and the fix is that easy
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-11 06:37:14 +03:00
Ivailo Monev
9b90a8609f
kdeplasma-addons: rework the dictionary runner
...
requires the following commit from kde-workspace:
6cfe505af4ede2843d7faa3d302e09cb171d823d
and because the runner is running in its own thread it is still not
thread-safe, that's something to fix
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-11 04:51:30 +03:00
Ivailo Monev
698d7f49c7
generic: use Solid::PowerManagement for power management
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-09 18:24:04 +03:00
Ivailo Monev
db8a6a3842
generic: do not install kcfg files
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-09 05:53:59 +03:00
Ivailo Monev
3cbd1dc700
kget: port to the new knetworkmanager library
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-08 08:54:23 +03:00
Ivailo Monev
d834d633d5
kdeplasma-addons: LCD::Private::checkIfDirty() optimization
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-08 03:20:41 +03:00
Ivailo Monev
2e0739b8f6
kdeplasma-addons: QPainter runtime warning fix
...
if the LCD widget size is null (QSize(0,0)) then nothing will be painted
even if it is dirty, so it shall remain dirty until the LCD widget size
is not null
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-08 03:17:18 +03:00
Ivailo Monev
4e802a2250
kdeplasma: remove redundant dict applet style sheet override
...
Plasma::TextBrowser palette is already set and updated internally, the
dictionary data engine does not add links too (unless the example or
definition itself contains such)
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-08 01:58:30 +03:00
Ivailo Monev
e9f147de3d
kdeplasma-addons: fix dict applet theme synchronization
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-08 01:43:11 +03:00
Ivailo Monev
f0935b19ec
gwenview: remove now redundant KExiv2Property checks
...
see 3521d07234beab1822bc7e30f5bdf451a5cebc3c in kdelibs repo
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-07 23:39:34 +03:00
Ivailo Monev
65248f8b71
kget: fix possible miscalculation of elapsed time due to clock jumps
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-07 22:44:40 +03:00
Ivailo Monev
4698f77414
gwenview: apply style sheet override selectively
...
because KUrlRequested creates a KFileDialog parented to it, inheriting the
style sheet for example
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-07 22:16:34 +03:00
Ivailo Monev
bde23022ef
gwenview: set font property for titles instead of using style sheet
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-07 22:09:53 +03:00
Ivailo Monev
bb38525225
gwenview: set the thumbnail page widget style sheet programatically
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-07 21:51:03 +03:00
Ivailo Monev
c7da45931b
okular: remove redundant style sheet override
...
the widget flat property is set to true which makes it have no border
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-07 21:43:45 +03:00
Ivailo Monev
703868eb38
kdeplasma-addons: remove bogus tooltip widget style sheet override
...
see the following commit in kdelibs:
f83e176dcf43e0307b8b20a5e7e5574a60d47618
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-07 21:28:57 +03:00
Ivailo Monev
527b3d0a86
generic: remove redundant styleSheet properties in UI files
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-07 20:31:48 +03:00
Ivailo Monev
ee6443ddaa
gwenview: update comment in LoadingDocumentImplPrivate::loadMetaInfo()
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-07 17:08:30 +03:00
Ivailo Monev
66f4c1cf16
gwenview: do not emit Document::saved() twice when the undo stack is clean
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-07 17:07:43 +03:00
Ivailo Monev
d7ea9b0a57
gwenview: remove obsolete comment about the hint
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-07 16:41:12 +03:00
Ivailo Monev
8bba9e82d6
gwenview: DocumentLoadedImpl::applyTransformation() optimization
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-07 16:38:18 +03:00
Ivailo Monev
524e3d4563
gwenview: comment corrections
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-07 16:28:53 +03:00
Ivailo Monev
a2b8bfaaa9
okular: do not show the forms message if form actions are not enabled
...
was showing an empty message with two buttons at start when something to
open was not specified, the check now matches the one done in
Okular::Part::openFile()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-07 16:21:29 +03:00
Ivailo Monev
bf3570e2a8
okular: remove bogus check for HasUnsupportedXfaForm metadata
...
not set by the poppler generator
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-07 16:10:53 +03:00
Ivailo Monev
698228c041
gwenview: call constructors
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-06 22:25:22 +03:00
Ivailo Monev
4038966ad0
filelight: use the static KFileDialog::getExistingDirectoryUrl() method
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-06 06:05:01 +03:00
Ivailo Monev
f6fd57439d
okular: handle URLs in the part the same way it is done by the shell
...
also adjusted the tests to the KUrl changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-06 04:14:55 +03:00