Hi ! SUMMARY 1. Context I'm a fan of KDE connect and use it every day : it *almost* completely replaces old desktop IM applications (pidgin / kopete). A use case I have is to copy-paste some text from my desktop into messages, using the old X11 way of doing copy/paste : select the wanted text, it's automatically copied into X11 copy/paste buffer, paste it somewhere using the middle mouse button click. 2. Paste problem When I try to paste a previously selected text, I have to be very precise in where to paste it even if I want to paste it at *the end of the line*. Indeed, int these cases, all I should have to do is to position my mouse pointer somewhere after the end of the text in the entry zone, click on the middle button and that's all. However the entry zone seems to be artificially restricted to the already input text plus a few pixels more for the cursor. So when I try to paste text after that not only the mouse pointer doesn't display as a text entry pointer, but also the paste doesn't occur. STEPS TO REPRODUCE 1. Open KDE Connect SMS to send a message to someone 2. Copy some text by just selecting it in a terminal or wherever you want 3. Try to paste it beyond the currenly input text in the message entry zone OBSERVED RESULT The copied text is not pasted. EXPECTED RESULT The copied text should be pasted at the end of the currently input text (or fill the entry zone if nothing has been input yet). SOFTWARE/OS VERSIONS Windows: N/A macOS: N/A Linux/KDE Plasma: KDE Plasma Version: 5.26.0 KDE Frameworks Version: 5.98.0 Qt Version: 5.15.4 ADDITIONAL INFORMATION
Could you please attach a video/gif/screenshots showing the issue you're having? I can paste into the compose message field normally, without any care for where I click in order to get the cursor to the end of the line.
(In reply to Simon Redman from comment #1) > Could you please attach a video/gif/screenshots showing the issue you're > having? I can paste into the compose message field normally, without any > care for where I click in order to get the cursor to the end of the line. Well. After more testing it appears that it only behaves that way when you have at least put 1 character in the input field, in the current session. After reading your message, I opened a new SMS window and, indeed, the whole message entry field is available for paste. However, once I put 1 character, even if I delete it after, the only place where I can paste is near the input cursor. I'm having a hard time fitting the video I took with my phone into the 4MB limit :) I'll upload it ASAP.
Created attachment 153052 [details] KDE connect SMS paste error
Thanks for the video. I now understand what you're experiencing but I can't reproduce it. If I enter a character, I can still click anywhere in the box to paste. If I delete that character, it still behaves normally. What versions do you have for: kdeconnect-sms (probably packaged with some other kdeconnect package, but you can check the about screen in the app) kirigami and kirigami2 (packaged as kf5-kirigami and kf5-kirigami2 on Fedora, but I don't know how it is packaged on other platforms)
(In reply to Simon Redman from comment #4) > Thanks for the video. I now understand what you're experiencing but I can't > reproduce it. If I enter a character, I can still click anywhere in the box > to paste. If I delete that character, it still behaves normally. > > What versions do you have for: > kdeconnect-sms (probably packaged with some other kdeconnect package, but > you can check the about screen in the app) > kirigami and kirigami2 (packaged as kf5-kirigami and kf5-kirigami2 on > Fedora, but I don't know how it is packaged on other platforms) I should have started with that :( Mines are the following ones (I don't know if this bug tracking system handles markdown so forgive me if not) : ```shell dpkg -l | grep -E "kdeconnect|kirigami" ii kdeconnect 21.12.3-2 amd64 connect smartphones to your desktop devices ii libkf5kirigami2-5 5.98.0-1 amd64 set of QtQuick components targeted for mobile use ii qml-module-org-kde-kirigami2 5.98.0-1 amd64 set of QtQuick components targeted for mobile use ``` By the way there is 2 other stuff I'd like to see in kdeconnect-sms :) 1. have it memorize its window size so that I don't have to add a window specific behavior in KDE ;) 2. support drag-n-drop for images to send Note that (i don't want to butter up, but...) kdeconnect is, to me, one of the indispensable application on a system ! This is by far one of the most useful application. Thanks for your hard work !