Commit graph

4451 commits

Author SHA1 Message Date
l10n daemon script
ee303f76b1 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-18 01:20:08 +00:00
Simon Redman
ec6a35e75b Fix SMS app icons and thumbnails
## Summary

Due to the difficult-to-test Qt5 -> Qt6 transition, there were some GUI errors with the SMS app:
- Contact photos were missing
- Attachment previews, if present, were in the place where the contact photo should be

This also takes a shot at fixing the long-standing issue that attachment previews were shown much taller than the row item, drawing over the items above and below. 

## Test Plan

### Before:
As in description, the conversations list items were not correct.

![image](/uploads/f68b662fecd6a4826986ede6e8191470/image.png)

### After:
Contact photos are shown to the left of the text preview, attachment preview, if present, is shown to the far right.

![image](/uploads/95f2b4d6e6ff26371a2f36d97fc3f52b/image.png)
2024-06-17 02:00:41 +00:00
l10n daemon script
846b584f5c GIT_SILENT Sync po/docbooks with svn 2024-06-17 01:25:18 +00:00
l10n daemon script
c052b49d41 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-17 01:18:25 +00:00
Albert Vaca Cintora
6ae69c89c5
Fix powershell example command 2024-06-14 14:56:46 +02:00
Ben Yip
3d7b849e90 fix: runcommand with args fails on windows 2024-06-14 15:06:15 +08:00
l10n daemon script
f7bedfd268 GIT_SILENT Sync po/docbooks with svn 2024-06-12 01:26:25 +00:00
l10n daemon script
8d0acebdfd GIT_SILENT Sync po/docbooks with svn 2024-06-11 01:28:29 +00:00
l10n daemon script
2df8782142 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-11 01:18:34 +00:00
Simon Redman
a6fd9f9e9e Correct reference to NetworkPacket in isValidIdentityPacket calls
## Summary

Fix Bluetooth branch build errors for changes in !678

## Test Plan

### Before:
Build errors in bluetoothlinkprovider.cpp due to undefined variable and due to incorrect argument type.

```
/home/simon/src/kdeconnect-kde/core/backends/bluetooth/bluetoothlinkprovider.cpp:301:56: error: cann
ot convert ‘NetworkPacket’ to ‘NetworkPacket*’
  301 |     if (!success || !DeviceInfo::isValidIdentityPacket(receivedPacket)) {
      |                                                        ^~~~~~~~~~~~~~
      |                                                        |
      |                                                        NetworkPacket
<snip>
```

### After:
Clean build.
2024-06-10 20:59:03 +00:00
ivan tkachenko
11ef11c0c3 smsapp: Clarify that source/file is a URL
Not using a URL type for URL data may lead to confusion.
2024-06-10 20:40:42 +00:00
ivan tkachenko
0ed648b4ba smsapp: Add qualified property access 2024-06-10 20:40:42 +00:00
l10n daemon script
42404c77b4 GIT_SILENT Sync po/docbooks with svn 2024-06-10 01:34:31 +00:00
l10n daemon script
065a23e386 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-10 01:17:37 +00:00
Heiko Becker
c6e7601a6f GIT_SILENT Update Appstream for new release
(cherry picked from commit 56977c62a0)
2024-06-10 00:38:28 +02:00
l10n daemon script
7942715292 GIT_SILENT Sync po/docbooks with svn 2024-06-09 01:23:12 +00:00
l10n daemon script
aa009cfd85 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-09 01:17:55 +00:00
l10n daemon script
c076816b75 GIT_SILENT Sync po/docbooks with svn 2024-06-08 01:26:28 +00:00
Łukasz Patron
7a4a3c5baa Unset file transfer tooltip location
Not sure what was the goal here, but tooltip should be shown under the
file drop area, not the entire plasmoid.
2024-06-07 21:57:24 +00:00
l10n daemon script
01a605652d GIT_SILENT Sync po/docbooks with svn 2024-06-05 01:35:14 +00:00
l10n daemon script
d60215a7bd 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-05 01:18:01 +00:00
Albert Astals Cid
9faa049c55 Make clang-format happy 2024-06-04 19:02:58 +02:00
Albert Vaca Cintora
17c97a4768 Add a parent to KCompositeJob
So they are stopped if the device is destroyed
2024-06-04 14:15:23 +00:00
l10n daemon script
2763b2dbe3 GIT_SILENT Sync po/docbooks with svn 2024-06-04 01:22:30 +00:00
Mavroudis Chatzilazaridis
29904c1f8d indicator: Sort devices in menu
Use `DevicesSortProxyModel` to sort devices before adding them to `menu`.
2024-06-03 12:42:14 +00:00
l10n daemon script
fef6abe70c GIT_SILENT Sync po/docbooks with svn 2024-06-03 01:22:33 +00:00
l10n daemon script
29de4a52bb 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-03 01:17:38 +00:00
l10n daemon script
848656cf52 GIT_SILENT Sync po/docbooks with svn 2024-06-02 01:23:51 +00:00
l10n daemon script
c9cac4160f 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-02 01:17:34 +00:00
l10n daemon script
8089806025 GIT_SILENT Sync po/docbooks with svn 2024-06-01 01:23:51 +00:00
l10n daemon script
09e1f60035 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-01 01:17:53 +00:00
Fabian Arndt
bfdb1c7ff5 Virtual Monitor: always provide dbus path
The plugin should always be loaded, as:
- we can provide a virtual display over VNC, even if the device isn't capable to use virtual displays itself (`krfb-virtualmonitor`)
- we would do the capabilities check regardless, if !670 gets merged
- hiding the DBus path doesn't trigger the `PluginChecker.qml` to think the plugin is unavailable, it just doesn't work
- -> is this a bug or intended behaviour?
2024-05-31 20:31:21 +00:00
l10n daemon script
a2c2c310fa GIT_SILENT Sync po/docbooks with svn 2024-05-31 01:30:46 +00:00
Fabian Arndt
b24d629802 virtualmonitor: implemented capabilities check
BUG: 485829

## Summary

Currently, the plugin just fails silently if the local device is missing the `krfb` package or if the remote device misses an `vnc://` protocol/scheme handler. You click the button and nothing happens.

One issue is, that the plugin is considered `virtualmonitor.available` in the `DeviceDelegate.qml`, even if the check for `krfb-virtualmonitor` fails and no dbus-path is provided. I investigated the behavior a bit, but ignored it in the end as this MR benefits from being shown for device constellations that _could_ provide this feature.

A warning is shown with brief instructions, how to get the plugin working correctly.

- Check if krfb-virtualmonitor is available locally
- Check default scheme handler for vnc:// on device (Linux)
- Show warnings / reasons, if no connection could be established


## Test Plan

Regarding if the devices have mentioned packages installed, we should see different behaviors.

If the remote device has no VNC client, it can not connect to out server. _A warning should be shown._

If the local device hasn't the `krfb-virtualmonitor` available, the remote device couldn't connect. _A warning should be shown._

If both problems are present, _both warnings should be shown._


If none of these are present, no warning should be shown and we should try to establish a connection.


The connection attempts failed? _A warning should be shown._
2024-05-30 23:13:54 +00:00
l10n daemon script
f1392b30a2 GIT_SILENT Sync po/docbooks with svn 2024-05-30 01:24:25 +00:00
l10n daemon script
88c25b54d0 GIT_SILENT Sync po/docbooks with svn 2024-05-29 01:35:05 +00:00
l10n daemon script
91ef3bda57 GIT_SILENT Sync po/docbooks with svn 2024-05-27 01:24:17 +00:00
l10n daemon script
b75b118834 GIT_SILENT Sync po/docbooks with svn 2024-05-26 01:22:02 +00:00
Łukasz Patron
7d3c37d3e6
Add Qt::DBus dependency to kdeconnect_runcommand_config
It seems like we now have to explicitly do that for Windows, as
otherwise, build fails when including <dbushelper.h>.
2024-05-25 10:31:46 +02:00
l10n daemon script
b4256ae65b GIT_SILENT Sync po/docbooks with svn 2024-05-24 01:26:28 +00:00
l10n daemon script
0fb63debae GIT_SILENT Sync po/docbooks with svn 2024-05-23 01:23:53 +00:00
l10n daemon script
9cbe7df4b0 GIT_SILENT Sync po/docbooks with svn 2024-05-22 01:26:36 +00:00
l10n daemon script
21f610bd47 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-05-22 01:19:06 +00:00
l10n daemon script
1dd453dee7 GIT_SILENT Sync po/docbooks with svn 2024-05-21 01:28:33 +00:00
Albert Vaca Cintora
a6d0dfd0ae
Better KCM size 2024-05-20 12:41:00 +02:00
Mavroudis Chatzilazaridis
6702190811 urlhandler: Fix devicePicker selection with --device
When using 'Send a file/URL' in the indicator with multiple devices, the
device the user selects for file sharing is not automatically selected in
the URL handler dialog that follows.

This happens because `model.rowForDevice(deviceId)` is called without
waiting for the model to be populated, always returning -1.

Resolving this exposed another bug, where the selected device was still
not the one picked. This happens because `proxyModel` is used to fill the
`QComboBox` but `model` is used to find the correct index. Since
`DevicesPluginFilterProxyModel` sorts and filters the data from `model`
the indices do not match.

This commit addresses these issues by deferring the device selection until
data is available and implementing `rowForDevice` for filtered/sorted data
in `DevicesPluginFilterProxyModel`.
2024-05-20 09:56:03 +00:00
Mavroudis Chatzilazaridis
a9a3661cf3 Fix inverted alphabetical device sorting order
QSortFilterProxyModel attempted to sort in ascending order but due to this
issue, it instead ended up sorting in descending order.
2024-05-20 09:53:10 +00:00
l10n daemon script
88ba2acad9 GIT_SILENT Sync po/docbooks with svn 2024-05-20 01:23:59 +00:00
Albert Vaca Cintora
b672d80249
Validate and filter device names 2024-05-19 16:24:54 +02:00
Albert Vaca Cintora
983788e5c9
Dedupe Q_EMIT 2024-05-19 16:15:56 +02:00