Feature #64984

Improve DownloadLink comment field

Added by raztoki over 5 years ago. Updated over 5 years ago.

Status:NewStart date:04/28/2015
Priority:NormalDue date:
Assignee:-% Done:


Target version:020 - Next Release 2.0


separate comment field into two fields
1st) one from plugin sets
2nd) from user derived comments (add links dialog, packagise customiser, folder watch, api, etc)

When plugins first add links, display comment 1) when 2).isEmpty
When user edits comment show 2) and ignore 1)
if plugin updates 1).. it's ignored.

this way plugin rechecking of online status wont nuke users inputs. I had a complaint about this for k2sapi as it sets comment each time. The only solution I could come up with is if DownloadLink.getComment() != null.. but the problem with that is we can not differentiate between previous plugin set comment and user set comment. Effectively can't update.

either that or make two seperate fields and gui rows userComment/pluginComment.

Related issues

Related to Bug #64072: k2sapi: Do not set errormessages as comment if the user a... Closed 03/25/2015

Also available in: Atom PDF