Bug 423683 - remote input from laptop not working on Xubuntu
Summary: remote input from laptop not working on Xubuntu
Status: RESOLVED FIXED
Alias: None
Product: kdeconnect
Classification: Applications
Component: android-application (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Albert Vaca Cintora
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-30 04:47 UTC by Alejo
Modified: 2021-05-02 15:21 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alejo 2020-06-30 04:47:12 UTC
Even when the plugin is active in my desktop app, and the virtual keyboard is selected (and permission granted) in android, there's no way to input text on the cell phone using my laptop's keyboard. I've read that there's some box to write that I can find on the desktop tray, but I can not find it in any menu.

Additionally, when I press "help" to know which version number I'm using on the desktop app, nothing pops up. 
I'm using a Lenovo Ideapad with Xubuntu 18.04, and my cell phone is a Blu Vivo XI+ with Android 8
Comment 1 Nicolas Fella 2020-06-30 10:43:21 UTC
The input field is available in a newer version of KDE Connect (1.4) that Xubuntu 18.04 does not provide as it ships 1.3
Comment 2 Alejo 2020-07-02 23:10:20 UTC
I just upgraded to Xubuntu 20.04 LTS, and so it did KDE connect, now I can see I have 1.4 insalled.
Some features are close to what I was expecting: when I get a SMS or a Facebook Message, I get the notification on my desktop, and I can choose the "answer" option, and so, answer the message from a small text box on my desktop. But if I'm trying to, let's say, send a WhatsApp message (not answering one), choosing the virtual keyboard on my android device, enabling the plug-in on my desktop, yet doesn't works. Thanks for the advice!
Comment 3 Nicolas Fella 2020-07-02 23:16:56 UTC
You need to open kdeconnect-app, select your device > Remote input. There will be a text field to type into
Comment 4 Alejo 2020-07-03 00:50:25 UTC
The kde-connect app doesn't start. Never did, even in Xubuntu 18.04. I thought it was just a command to install the TSR.
In kdeconnect-settings, I have selected the remote input.

Tried to run the app on the terminal,I get this output. 

QQmlApplicationEngine failed to load component
qrc:/qml/main.qml:93 Cannot assign object of type "DevicesModel" to property of type "QAbstractItemModel*" as the former is neither the same as the latter nor a sub-class of it.

Also, and this might be related, I think when I type this command, another app, the Albert launcher, crashes. I can reload it, but it crashes again. I can stop the terminal command, and re-start Albert yet it crashes again. After a reboot, Albert works fine (tried the process of typing kdeconnect-app in the terinal two times more with the same result).
Comment 5 Alejo 2020-07-16 17:02:30 UTC
Hi. I made a fresh install of Lubuntu 20.04
Several things work better, like I can copy text on my laptop and later paste it on my cell phone. Also, I can answer messages (SMS, WhatsApp) directly from a text box on my laptop, only if I do it directly from the notification in the exact moment it arrives to my desktop. Yet, the remote keyboard function doesn't work.
No troubles with other apps, and yet, I get the same output from the terminal when I run kdeconnect-app:

QQmlApplicationEngine failed to load component
qrc:/qml/main.qml:93 Cannot assign object of type "DevicesModel" to property of type "QAbstractItemModel*" as the former is neither the same as the latter nor a sub-class of it.

Thanks for the help and sorry for the troubles
Comment 6 Rodrigo Cacilhas 2021-05-02 15:16:08 UTC
I’m using Ubuntu 20.04, running i3, and I’m getting the a similar problem with KDE Connect:


fish-3.1> kdeconnect-app
QApplication: invalid style override passed, ignoring it.
    Available styles: Windows, Fusion
QQmlApplicationEngine failed to load component
qrc:/qml/main.qml:93 Cannot assign object of type "DevicesModel" to property of type "QAbstractItemModel*" as the former is neither the same as the latter nor a sub-class of it.


Any chance of this bug being fixed someday?
Comment 7 Nicolas Fella 2021-05-02 15:21:33 UTC
It is fixed, with https://invent.kde.org/network/kdeconnect-kde/-/commit/58a400af8cb51edf2f897929ebb9071387edd76d, released in 1.4.1, in October 2020

Apparently Ubuntu 20.04 still ships 1.4.0 so please ask them to update the package