https://bugs.kde.org/show_bug.cgi?id=431694

            Bug ID: 431694
           Summary: Sharing multiple URLs from fenix mobile appends them
                    to a single invalid URL on desktop
           Product: kdeconnect
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: common
          Assignee: albertv...@gmail.com
          Reporter: dah5a...@genodeftest.de
  Target Milestone: ---

SUMMARY
I tried to share multiple URLs from Fenix mobile at once. On my desktop, I see
only a single tab opening with all URLs stiched together into one string,
opening only one tab in my web browser.

STEPS TO REPRODUCE
0. Have KDE connect installed on an android smartphone
1. Open Firefox Mobile (fenix) on the same android phone
2. Open multiple tabs in firefox mobile
3. Have connection between KDE connect on smartphone and desktop running
4. In Firefox mobile, open tab overview (list of tabs) by clicking on the
number
5. In Firefox mobile's tab overview, click the three-dots menu. Click "Share
all tabs"
6. In the share screen, select KDE connect
7. In KDE connect, select the desktop PC
8. On the desktop PC, watch the browser window open

OBSERVED RESULT
Firefox (my standard browser on the desktop) opens a single URL, which –
depending on the URL – probably fails to load. In step 8, the browser is opened
with the commandline argument "[URL0]%0A%0A[URL1]%0A%0A[URL2]"


EXPECTED RESULT
Open a tab per URL, i.e. if I share 3 tabs through KDE connect, I want to have
3 URLs opened on my desktop browser.


SOFTWARE/OS VERSIONS
Windows: (untested)
macOS: (untested)
Linux/KDE Plasma: Fedora 33 x86_64
(available in About System)
KDE Plasma Version: 5.20.5
KDE Frameworks Version: 5.78.0
Qt Version: 5.15
KDE connect: 20.08.1-1.fc33


ADDITIONAL INFORMATION
If you for example share the URLs with Signal (on the smartphone) instead of
KDE connect in step 6, the URLs are separated by two newlines:
"[URL0]\n\n[URL1]\n\n[URL2]". This is known (and maybe a bug in Firefox):
https://github.com/mozilla-mobile/fenix/issues/4178
Anyway, if KDE connect gets this shared URL with line feed characters (`\n`) in
it, it should not turn the line feed characters into `%0A`. Or is this the
format it gets the URLs? I don't know.


Idea:
Would it be possible that KDE connect turns the `\n` characters into spaces?
This should solve the issue for sharing with Firefox desktop at least.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to