Current drap and drop implementation causes new broken subscriptions
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
liferea (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: liferea
Steps to reproduce:
1) Subscribe something (make sure that some item in the feeds contains at least a few lines of text in the description)
2) Select a few lines of text in the bottom right panel (the preview/feed item content display)
3) Click above the selected text, hold the mouse button down, move the mouse a couple of pixels in random direction and release the button (pretty easy to do by mistake if something is already selected and you click the window to focus it and slightly move the mouse by mistake while the button is down)
Actual results:
One or more "New subscription" feeds appear in the feeds panel and if I try to select any of those, I'll get following in the preview/feed content display panel:
The last update of this subscription failed!
HTTP error code 404: Resource Not Found
Feed: New Subscription
Source: [the actual contents of the selected text here]
It seems that the number of "new subscription" feeds depend on the selected text, perhaps one new subscription per line of text or something like that?
Expected results:
Something sensible, possible choices include:
- do nothing (liferea does not need to accept drag and drop)
- an error dialog saying "unknown protocol: here's some text"
- a confirmation dialog saying something along the lines "Subscribe to feed from address 'here's some text'?" with buttons "Subscribe" and "Cancel".
- do nothing (do not accept multiline text input ever in drag and drop, accept only single line text input which starts with letters "http:" or "https:" (or whatever protocols the current version supports)
- try to load the new subscription silently and if the resource does not seem to be a supported subscription type, display an alert
- only accept drag and drop in the feeds panel (never in the headline/
ProblemType: Bug
Architecture: amd64
CheckboxSubmission: f0bf0101e3df07a
CheckboxSystem: b5acb6c9ca4017b
Date: Mon Feb 8 13:36:16 2010
DistroRelease: Ubuntu 9.10
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release Candidate amd64 (20091020.3)
Package: liferea 1.6.0-1ubuntu2
ProcEnviron:
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: liferea
Uname: Linux 2.6.31-9-rt x86_64
See this thread:
http:// sourceforge. net/mailarchive /forum. php?thread_ name=d06b850e10 01300657q6be5cb fek15b190f32e60 087f%40mail. gmail.com& forum_name= liferea- devel