Commit graph

3831 commits

Author SHA1 Message Date
Devin Lin
e5cb775830 folio: Fix some state transitions
Fixes some potential state problems when transitioning to the app
drawer.
2025-12-05 11:51:41 -05:00
Devin Lin
e480114d53 panels: Use standard foreground colors when startup feedback is open
The startup feedback uses theme adjusted colors, we can use standard
foreground colors for the panels for better contrast rather than relying
on the shadow.
2025-12-05 09:11:17 -05:00
Devin Lin
088c0d985b kscreen: Retry fetching config if kscreen gives nullptr
Apparently GetConfigOperation can retrieve a nullptr config, in which
case we just need to retry until kscreen gives us something.
2025-12-05 09:09:25 -05:00
Devin Lin
1bdd4bf1ee initialstart: Port libkscreen usage after isPrimary was removed
https://invent.kde.org/plasma/libkscreen/-/merge_requests/265 removed
isPrimary
2025-12-04 22:07:40 -05:00
l10n daemon script
c2857422db GIT_SILENT Sync po/docbooks with svn 2025-12-05 01:43:05 +00:00
Devin Lin
3f0b0f1454 Switch from maliit-keyboard to plasma-keyboard
Now that plasma-keyboard has had its first release, we can switch to it
as the default keyboard and drop maliit-keyboard (and its Qt 5 dependency).

We also drop the maliit-keyboard kcm here (moved to
https://invent.kde.org/devinlin/maliit-keyboard-kcm), which is replaced by the one
installed by plasma-keyboard.
2025-12-04 10:06:21 -05:00
l10n daemon script
1f333d008d GIT_SILENT Sync po/docbooks with svn 2025-12-04 01:48:31 +00:00
Nicolas Fella
8e8f794f02 Use workspace to find output
We want the LogicalOutput from workspace(), not the BackendOutput
2025-12-02 20:14:03 +01:00
l10n daemon script
a46bf048ce GIT_SILENT Sync po/docbooks with svn 2025-12-02 01:44:01 +00:00
l10n daemon script
1e6ec779e9 GIT_SILENT Sync po/docbooks with svn 2025-12-01 01:49:39 +00:00
Marco Mattiolo
efe86cbb1c CMakeLists.txt: require KWindowSystem
if that's not installed at run-time, plasma-mobile shell opens without top/bottom bars and the following is logged in journal:

nov 30 10:34:27 mobian plasmashell[4763]: QQmlComponent: Component is not ready
nov 30 10:34:27 mobian plasmashell[4763]: kf.plasma.quick: "file:///usr/share/plasma/shells/org.kde.plasma.mobileshell/contents/views/Panel.qml"
nov 30 10:34:27 mobian plasmashell[4763]:  "Error loading QML file.\n15: module \"org.kde.kwindowsystem\" is not installed\n"
2025-11-30 11:35:53 +01:00
l10n daemon script
2edd1469de GIT_SILENT Sync po/docbooks with svn 2025-11-30 01:49:35 +00:00
Balló György
3b2033857e homescreens/folio: Use locale-aware sorting for application list
This fixes the problem that application names starting with non-English
characters are placed at the end of the list.
2025-11-28 23:08:39 -05:00
l10n daemon script
46fb65bddc GIT_SILENT Sync po/docbooks with svn 2025-11-29 01:45:57 +00:00
Devin Lin
bd95aa89b4 mobileshell: Add more null checks 2025-11-26 19:17:33 -05:00
Devin Lin
0b26be6331 mobileshell: Fix wallpaper selector paths
Previews don't seem to load otherwise
2025-11-26 19:12:35 -05:00
Nicolas Fella
c526bb5968 Port away from Milou.ResultsListView
It's just ResultsView with a specific delegate, but here we override the delegate anyway
2025-11-26 18:58:05 -05:00
Nicolas Fella
37dcef56d9 Adjust to renamed KWin::Output class 2025-11-26 17:46:31 +01:00
Devin Lin
f0dd24e8bd initialstart/prepare: Gracefully handle kscreen late start and null
checks

Handle situations where the GetConfigOperation never succeeds (really early start
of initialstart) with callbacks so users can still set the scale. Also
guard more aggressively against nullptr
2025-11-25 11:17:54 -05:00
Bart Ribbers
cd315ee8bb systemd: install service file to the system units directory
Just /usr/lib/systemd isn't valid, it needs to be a system or user unit.
In our case a system unit is the right choice.
2025-11-25 12:05:31 +01:00
Devin Lin
6c0898fab2 notifications: Fix timestamp not working
Fix notification timestamps not working and always showing "now",
fallout from https://invent.kde.org/plasma/plasma-mobile/-/merge_requests/847
2025-11-24 23:38:57 -05:00
Devin Lin
44e5ed6bbf folio: Fix typo with keyboard navigation logic 2025-11-24 23:24:17 -05:00
l10n daemon script
51258e396e GIT_SILENT Sync po/docbooks with svn 2025-11-25 01:43:56 +00:00
l10n daemon script
e75c97ab12 GIT_SILENT made messages (after extraction) 2025-11-25 00:44:23 +00:00
l10n daemon script
df4c120dab GIT_SILENT Sync po/docbooks with svn 2025-11-24 01:45:47 +00:00
l10n daemon script
d1afae1f22 GIT_SILENT Sync po/docbooks with svn 2025-11-23 01:47:11 +00:00
l10n daemon script
b45ba7ad85 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"
2025-11-23 01:36:30 +00:00
l10n daemon script
b914c48fd0 GIT_SILENT Sync po/docbooks with svn 2025-11-22 01:43:28 +00:00
l10n daemon script
0daa0b737b 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"
2025-11-22 01:35:52 +00:00
l10n daemon script
7defc02915 GIT_SILENT Sync po/docbooks with svn 2025-11-18 02:12:33 +00:00
l10n daemon script
506acd1e02 GIT_SILENT Sync po/docbooks with svn 2025-11-17 13:39:56 +00:00
l10n daemon script
2a896fcc1a GIT_SILENT Sync po/docbooks with svn 2025-11-17 01:43:22 +00:00
l10n daemon script
7fa4c6cf31 GIT_SILENT Sync po/docbooks with svn 2025-11-16 01:44:08 +00:00
Bohdan Onofriichuk
b0b7a92808 components/mobileshell: port from the clock dataengine 2025-11-15 12:14:44 +02:00
Bohdan Onofriichuk
6a327acde6 containments/homescreens/halcyon: port from the clock dataengine 2025-11-15 12:14:44 +02:00
Bohdan Onofriichuk
10a12af018 shell/lockscreen: port from the clock dataengine 2025-11-15 12:14:44 +02:00
Micah Stanley
6ba95df13d shelldbusclient: check if reply is valid 2025-11-13 15:49:23 +00:00
l10n daemon script
1468b6d724 GIT_SILENT Sync po/docbooks with svn 2025-11-11 01:58:04 +00:00
l10n daemon script
1bbd03ae35 GIT_SILENT made messages (after extraction) 2025-11-10 00:45:23 +00:00
l10n daemon script
cd3b5c9dac GIT_SILENT Sync po/docbooks with svn 2025-11-09 01:56:40 +00:00
Devin Lin
27d4ce62b8 readme: Fix link 2025-11-06 07:55:15 -05:00
l10n daemon script
523e161fbe GIT_SILENT made messages (after extraction) 2025-11-06 00:46:09 +00:00
Devin Lin
839d5e2bff panels: Add support for defining device specific panel tweaks
This adds support for specifying options needed to deal with phone
display panel pecularities (ex. screen curves, notches, punch holes)

This is implemented as settings in ~/.config/plasmamobilerc, which can
set panel heights, paddings, and center spacings to duck display
cutouts. The pixel values are scaling independent, and so are not
affected when the display scaling is changed.

This is then exposed over DBus, so that components from outside of
plasmashell (ex. KWin) can access it easily without needing to connect to
kscreen themselves. Each screen is exposed as a single object.

Currently support is only added in the status bar and the navigation
panel.

Currently all screens have the settings applied. In the future, we may
want to limit this just to the internal screen (?)

---

This also adds a "devices" folder (in `devices/configs`) where per-device configs can be set.

This is installed to `/usr/share/plasma-mobile-device-configs`.
In `plasmamobilerc` (installed to `/etc/xdg/plasmamobilerc`, or
`~/.config/plasmamobilerc`), envmanager will read:

```toml
[Device]
device=oneplus-enchilada
```

for the device config to use and write its settings to
`~/.config/plasma-mobile/plasmamobilerc`.
2025-11-04 23:08:18 -05:00
Devin Lin
ca79509706 kscreen: Make async calls and nullptr check
Don't block plasmashell when doing kscreen calls (make them async). Also
add a nullptr check to rotationplugin, which potentially could be a fix
for crashes on the PinePhone.
2025-11-03 22:44:26 -05:00
l10n daemon script
a74fa5593b GIT_SILENT Sync po/docbooks with svn 2025-11-04 01:54:47 +00:00
Luis Büchi
64bcfb7ebc taskswitcher: fix double tap navpanel task switch being inconsistent 2025-11-03 02:02:19 +01:00
l10n daemon script
9840d05cdf GIT_SILENT Sync po/docbooks with svn 2025-11-01 01:47:55 +00:00
Devin Lin
921345bc2d lockscreenstate: Make lock screen call async
This avoids blocking the shell when lock screen is requested
2025-10-31 09:25:54 -04:00
Devin Lin
678cd25a43 quicksettings/record: Set encoder
Encoders are not set by default anymore, attempt to set one.

Fixes: https://invent.kde.org/plasma/plasma-mobile/-/issues/484
2025-10-30 19:46:40 -04:00
Luis Büchi
90abaad9c8 envmanager: stop loading mobile config when desktop one should be 2025-10-28 03:21:13 +01:00