#1
|
|||
|
|||
disabled clipboard monitor not working properly
I disabled clipboard monitor so that I can copy and paste some links into a document that I didn't want to be loaded into jdownloader
After I enabled clipboard monitor I noticed jdownloader started loading those links that I had copied and paste in my documents.. So how can I prevent this from happening? Last edited by madmax2; 19.06.2019 at 01:11. |
#2
|
||||
|
||||
copy something else into the clipboard, like any text ?
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] |
#3
|
||||
|
||||
either that or Settings-Advanced Settings-GraphicalUserInterfaceSettings.clipboardskipmode to ON_ENABLED
__________________
JD-Dev & Server-Admin |
#4
|
|||
|
|||
Quote:
but will now monitor any new links that is copied after we enable the clipboard again? |
#5
|
|||
|
|||
yes this is a workaround solution..
though I wonder why jdownloader does this? since for many who disabled the clipboard temporary they expected the behavior would be to ignore what was copied while it was disabled. Not immediately load what was copied, since that would defeat the purpose of why someone would need to temporary disable the clipboard monitor. Last edited by madmax2; 19.06.2019 at 10:21. |
#6
|
||||
|
||||
Quote:
When you enable the monitoring, it will check the clipboard and process it according to GraphicalUserInterfaceSettings.clipboardskipmode ON_ENABLED -> skip the first content change NEVER- > never skip, always process first content change ON_STARTUP -> only skip first content change on startup
__________________
JD-Dev & Server-Admin |
#7
|
||||
|
||||
That's what it does. But when you enable the monitoring again, your text/content is still in clipboard
__________________
JD-Dev & Server-Admin |
#8
|
|||
|
|||
Quote:
and it doesn't work it is still importing the link I just copied while the clipboard was disabled after I re-enable the clipboard monitoring |
#9
|
||||
|
||||
Quote:
I've always just copied some random text (not a link) if you don't want to trigger. I guess thats why Jiaz or Coalado created the newer clipboard monitoring settings. When developing I know when he changed the default behaviour it was annoying for testing purposes as I would always toggle the clipboard button in order to quickly re-add the link for debugging. I totally agree, if the user disabled monitoring for a reason, but how do you know exactly that the content that the user didn't want scanned is still on the clipboard and not new content? o_O. I personally some times forget that I disabled it and then goto add newly copied content, and notice clipboard hasn't picked it up. So re-enabled and under your example it would ignore it. So you can see under different circumstances you can't find a perfect default behaviour. raztoki
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] |
#10
|
|||
|
|||
Quote:
Under normal usage, clipboard monitoring is always on because we like JD to automatically grab links When someone goes to the effort of intentionally disabling the the clipboard monitoring, it is because they know that they will be copying some data that contains links they don't want JD to grab..that is why they purposely disabled the clipboard. So they expect that data that was just copied not to be immediately be grabbed after they re enabled the clipboard.. This is an unexpected behavior. Like if someone steps on the brakes but the car instead accelerates. Therefore the default behavior should be to ignore what was copied when the clipboard was disabled because it goes back to the intention of the user when they first disabled the clipboard monitor.. and only monitor any new clipboard data after the clipboard monitor is re-enabled. This all goes back to what was the intention of doing the action in the first place. This is a typical user behavior with regards to intentionally disabling the clipboard. 1. User disables clipboard monitor (to prevent grabbing of some links) 2. User copies data/links that don't want grabbed 3. User re-enabled clipboard monitor What happens afterwards like your case is because you simply forgot to re-enable the clipboard, and has nothing to do with what the original intention for disabling the clipboard was..ie to ignore what was just copied. What is the point of a user intentionally disabling the clipboard monitoring (to stop grabbing links) if immediately after they re enabled the clipboard, it grabs all the links that was just copied? It then becomes a pointless action. ===== Anyways the advance setting is not working when I enabled it, it is still grab the links that was just copied when the clipboard was disabled. Last edited by madmax2; 20.06.2019 at 07:35. |
#11
|
||||
|
||||
for sure, I was agreeing with you (mostly), just pointing out my experiences. I personally do forget / or purposely not re-enable and then forget, more so than disabling and re-enabling straight then after.
see what jiaz has to say when he gets into work today. Hopefully he can assist you sort out your issue =] raztoki
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] |
#12
|
||||
|
||||
going to check/fix it
__________________
JD-Dev & Server-Admin |
#13
|
||||
|
||||
I will check the ON_ENABLED because it should work like you describe. You don't want the clipboard to be parsed when you enable the monitoring. Others(for example myself) exactly want this feature to work like this. That's why we've added option to change behaviour. I'm looking into why it fails for you
__________________
JD-Dev & Server-Admin |
#14
|
||||
|
||||
I'm sorry but I can't reproduce the issue. Settings to ON_ENABLED , JDownloader won't parse clipboard on enabling the clipboard monitoring (tested on Linux/Windows). A restart is required. Will update so that no restart is required
__________________
JD-Dev & Server-Admin |
#15
|
|||
|
|||
Quote:
does it means that when re-enabling the clipboard monitoring it will not parse what was just copied while it was disabled but it will monitor/parse for any new links/new data change in the clipboard that is copied to the clipboard from this moment on? Yeah I think the reason it was not working cos I didn't know it required a restart, since changing the setting never prompted to restart. Last edited by madmax2; 22.06.2019 at 00:32. |
#16
|
||||
|
||||
Quote:
I think so too, that's why I added support to apply these changes without a restart. sorry for missing *restart required* message and the confusion because of that
__________________
JD-Dev & Server-Admin |
Thread Tools | |
Display Modes | |
|
|