Bug 404253

Summary: "Share to Pastebin" function does not work
Product: [Frameworks and Libraries] frameworks-purpose Reporter: alexisbrabo <alexisbrabo>
Component: generalAssignee: Aleix Pol <aleixpol>
Status: RESOLVED FIXED    
Severity: normal CC: bugseforuns, elvis.angelaccio, mail
Priority: NOR    
Version: 5.55.0   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Error image

Description alexisbrabo 2019-02-12 18:51:28 UTC
Created attachment 118013 [details]
Error image

SUMMARY
"Share to Pastebin" function does not work

STEPS TO REPRODUCE
1. Right click on some file with text inside.
2. Select "Pastebin" option.

OBSERVED RESULT
It generates a link like in the image attached.
When this link is clicked is show a page with a following message: "Bad API request, invalid api_option".

EXPECTED RESULT
A correct pastebin link.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kde Neon
KDE Plasma Version: 5.15

Reproducible: Always
Comment 1 Julian Steinmann 2019-02-13 15:23:50 UTC
Can reproduce.

Operating System: KDE neon Developer Edition
KDE Plasma Version: 5.15.0
KDE Frameworks Version: 5.56.0
Qt Version: 5.12.0
Comment 2 Aleix Pol 2019-02-22 19:01:55 UTC
*** This bug has been marked as a duplicate of bug 397567 ***
Comment 3 Patrick Silva 2019-02-24 23:53:55 UTC
it's still not working as expected on neon dev unstable with frameworls 5.56.
Correct pastebin url opens automatically in default web browser but the same notification showing wrong url shows up and click on "Open" button opens "Bad API request, invalid api_option" page.
Comment 4 Aleix Pol 2019-02-27 21:48:23 UTC
Git commit ebac82aa9d8beb66cbd61853f7c46dbbde5e04c0 by Aleix Pol.
Committed on 27/02/2019 at 21:45.
Pushed by apol into branch 'master'.

pastebin: don't show progress notifications

They're supposed to be internal and are misleading to the user.

M  +1    -1    src/plugins/pastebin/pastebinplugin.cpp

https://commits.kde.org/purpose/ebac82aa9d8beb66cbd61853f7c46dbbde5e04c0
Comment 5 Aleix Pol 2019-02-27 21:52:33 UTC
This should fix it for all