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
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
l10n daemon script
6150868313
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-10-01 01:39:35 +00:00
l10n daemon script
625deeb11d
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-09-09 02:09:50 +00:00
Devin Lin
339cec2b8a
initialstart: Add null check for if kscreen config can't be fetched
2025-09-06 08:10:12 +02:00
l10n daemon script
7e82501c2b
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-09-01 01:35:07 +00:00
Devin Lin
c76e19037c
Ensure i18n is used with double quotes and add CI check
...
Apparently i18n doesn't support string literals with single quotes as
parameters. Fix occurrences of this and add a CI check to ensure this
won't happen in the future.
2025-08-11 18:19:41 -04:00
l10n daemon script
c3ee2fe339
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-08-05 01:37:48 +00:00
Devin Lin
d3cb51bef6
initialstart: Fix wallpaper path
...
The wallpaper paths changed for Plasma 6.4: https://invent.kde.org/plasma/breeze/-/tree/master/wallpapers/Next/contents?ref_type=heads
We really need a more adaptive way to do this in the future...
2025-07-11 01:38:18 -04:00
l10n daemon script
903a9447bb
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-06-07 01:33:02 +00:00
l10n daemon script
efb518c817
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-04-27 01:31:31 +00:00
l10n daemon script
7ea7550da5
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-04-19 01:30:30 +00:00
l10n daemon script
9d284e4aa1
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-04-15 01:29:59 +00:00
l10n daemon script
eb918d4d99
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-04-08 01:31:46 +00:00
l10n daemon script
7cb9f96ada
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-04-07 01:32:51 +00:00
l10n daemon script
3c6c3aea57
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-04-05 01:31:14 +00:00
l10n daemon script
a71687c1ee
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-04-04 01:31:32 +00:00
l10n daemon script
b3e396812f
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-03-27 01:31:08 +00:00
l10n daemon script
bfd4327177
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-03-20 01:31:46 +00:00
l10n daemon script
bd287571e8
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-03-16 01:30:57 +00:00
l10n daemon script
37a1aefed3
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-03-12 01:31:07 +00:00
l10n daemon script
f08d4c7cfe
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-03-10 01:32:02 +00:00
l10n daemon script
af4cc72659
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-03-08 01:33:15 +00:00
Devin Lin
a029f18eeb
initialstart: Make scaling option more robust
...
Currently when the app starts, the scaling of all monitors gets changed
to a combobox value. This change makes it so that only the primary
monitor is affected, and that it only sets the scaling when the user
interacts with the combobox.
2025-03-07 17:01:48 +00:00
Devin Lin
6c1622cf6a
initialstart: Add system navigation module
...
Add a module to initialstart that allows users to select the type of
system navigation they would like (gesture or button).
2025-03-06 14:40:43 +00:00
Devin Lin
88462a3b4b
initialstart: Cap content width for wide screens
...
Cap the content width for wider screens, as the space is unnecessary
anyway.
Also use item y positioning for the animation instead of transform for
simplicity.
2025-03-06 14:36:02 +00:00
l10n daemon script
b993b510a4
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"
2024-12-15 01:40:00 +00:00
kai weaver
6ccd2aa7d0
update copyright info from 2023 to 2024
2024-11-26 14:53:45 +00:00
User8395
a54503419e
Improvements to initialstart + 1 more
...
This MR implements multiple things
- Add `.vscode/` to .gitignore
- Any files generated by Visual Studio code or its extensions will not be pushed.
- Give `InitialStartModule` a required `name` property
- Every `InitialStartModule` now requires a `name` property. This replaces the previous setup where a `property string name` was needed in the `contentitem` of the `InitialStartModule`.
- Remove the cellular page if no modem
- If the device has no modem (`PlasmaMM.SignalIndicator.modemAvailable == false`), the cellular page will no longer be shown.
2024-11-10 06:35:06 +00:00
Devin Lin
e66d88a754
initialstart: Introduce InitialStartModule as top level item for modules
...
Currently modules are initialized as QQuickItems. In order to be able to
add custom properties for modules to set in the future, introduce
InitialStartModule as the top-level QML object for modules to
initialize.
Currently only two properties are implemented: `available` for whether
to show the module in the wizard, and `contentItem` for the visual
module item.
2024-11-06 22:07:50 -08:00
Devin Lin
c7e5003596
screenbrightnessplugin: Extract from initialstart and use in shell
...
This is partially an emergency fix also for
https://invent.kde.org/plasma/plasma-mobile/-/issues/404 , which was
potentially introduced by https://invent.kde.org/plasma/plasma-mobile/-/merge_requests/582
This MR extracts the screen brightness implementation from initialstart
to a QML plugin, and also ports the action drawer brightness slider
implementation to it. This avoids importing the powerdevil screen
brightness plugin on the lockscreen, which apparently has a race
condition that causes it to sometimes segfault.
2024-10-08 22:47:30 -07:00
Devin Lin
7e3d230f2e
initialstart: Provide more scaling options
...
Often scaling is in multiples of 25%, add more options to support this
2024-10-09 01:50:46 +00:00
User8395
817c1ffb65
Add "Powered by distro" to initialsetup/LandingComponent
...
This is a recreation of !581 .
2024-10-08 15:49:32 +00:00
Marco Mattiolo
ac91c9fe11
Drop semicolon after Q_UNUSED() for consistency through the repo
2024-09-28 06:31:00 +00:00
Alexander Lohnau
f726443f77
Remove ServiceTypes for KPackage files
...
We no longer need to define those, because the KPackageStructure is defined
2024-09-26 08:40:51 +02:00
l10n daemon script
0dfa399b7b
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"
2024-09-25 01:24:12 +00:00
l10n daemon script
62a2633f72
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"
2024-08-28 01:30:06 +00:00
l10n daemon script
0c6ac89728
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"
2024-08-26 01:22:46 +00:00
Marco Mattiolo
1fa13fa9ef
Drop initialstart/assets/background.png.license
...
as the 'main' file initialstart/assets/background.png was dropped in commit 3eba3647e8
2024-08-13 09:34:05 +00:00
Devin Lin
eb9509ce68
Remove trailing whitespace
2024-07-26 23:47:44 -04:00
l10n daemon script
10dbdac20a
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"
2024-07-19 01:21:05 +00:00
Nicolas Fella
d69839f202
Remove unused includes
2024-07-14 01:19:42 +02:00
l10n daemon script
518b94e018
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"
2024-06-28 01:25:09 +00:00
l10n daemon script
00edc45f4d
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"
2024-06-22 01:21:15 +00:00
F_Chao Fengchao
2d915d3037
Fix the bug where the time zone cannot be set during initialstart.
2024-06-08 02:57:27 +00:00
l10n daemon script
9131752fd3
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"
2024-06-08 01:20:22 +00:00
l10n daemon script
f7851a3f8f
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"
2024-04-25 01:16:26 +00:00
Devin Lin
5f9f6b2d18
initialstart: Ensure initial value of 24 hour switch is obtained
...
Otherwise the switch's state is always off.
2024-03-13 11:25:54 -04:00
l10n daemon script
4ca3a25d4f
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"
2024-03-09 01:15:44 +00:00
Devin Lin
7d4fdf48a5
initialstart/time: Fix search box getting unfocused on every key press
...
Fixes https://invent.kde.org/plasma/plasma-mobile/-/issues/288
Ensure that the ListView is not taking focus from the text field
2024-03-08 17:36:44 -05:00