Bug 242159

Summary: "Open in browser" button always opens the latest paste only
Product: [Plasma] plasma4 Reporter: Ivan Lezhnjov Jr. <kyur4thitch>
Component: widget-pastebinAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: asouza, asraniel
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:

Description Ivan Lezhnjov Jr. 2010-06-19 12:32:11 UTC
Version:           unspecified (using KDE 4.4.4) 
OS:                Linux

"Open in browser" button always opens the latest paste only neglecting user's choice.

Reproducible: Always

Steps to Reproduce:
- Make multiple pastes (in my case it was multiple images pastes).
- Do RMB click on Pastebin widget icon and choose any but the latest, top most entry in the pop-up menu.
- Notification window with "Open in browser" button will appear.
- Click "Open in browser" button to see that it is always the latest, top most entry that is opened no matter what URL you actually chose.
Comment 1 Beat Wolf 2010-06-19 12:38:15 UTC
reproduced in trunk
Comment 2 Ivan Lezhnjov Jr. 2010-06-19 13:01:52 UTC
I'm relatively new to Bugzilla and jargon used here so I'll have to ask what exactly does your message mean?
Comment 3 Beat Wolf 2010-06-19 13:04:23 UTC
it means that i could reproduce the bug in current trunk, which is the current developement version, the version that one day will become kde 4.5. I'm trying to fix the bug right now(actually i already did, but found another one on the way and fix that too).
Comment 4 Beat Wolf 2010-06-19 13:07:26 UTC
SVN commit 1139893 by beatwolf:

fix opening old pastes from context menu.
Also fix a bug where the saved history contained the shortcut code (&)
BUG:242159


 M  +8 -3      pastebin.cpp  
 M  +2 -1      pastebin.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1139893
Comment 5 Ivan Lezhnjov Jr. 2010-07-04 10:41:50 UTC
Delivered as promised. Big thanks guys! I love this widget :)