Page 1 of 2
Abe Rules Deleted.
Posted: Sat Aug 09, 2014 3:50 pm
by Guest
Hello.
I was making a new Abe rule.I right clicked and was about to paste a new line.Unfortunately I accidentally clicked on Undo.Now all of my Abe Rules are gone.
I'm afraid to close the options because they auto save without clicking on the Ok button.In older versions this nonsense did not exist.I'm pretty sure all of my Abe Rules are gone forever and closing the options makes no differences.
Any help?
Re: Abe Rules Deleted.
Posted: Sat Aug 09, 2014 5:16 pm
by barbaz
Re: Abe Rules Deleted.
Posted: Sat Aug 09, 2014 6:22 pm
by Guest
Hello barbaz.
Good to hear from you again.
Well I knew I was screwed.However this has been going on for over a year and it's still not fixed.
Giorgio never explained why he chose things to be this way.Could you please ask him to comment here?
Also does the Reset button wipes the entire list clean as well?Looks like it does.
If so...Feature Request:then the Reset button and auto save must be taken out of NS.
Re: Abe Rules Deleted.
Posted: Sat Aug 09, 2014 7:04 pm
by barbaz
I've already asked that question...
Probably the best you can do is bump that thread? I would think if it's clear that enough people are curious, it might deserve an explanation in the FAQ.
That Reset button is, well, supposed to reset the ABE rules
What you want (and what I too would find useful) is some automated means to put ABE rules back to the state they were in before opening the Options dialog, e.g. a "Revert" button (right?).
(Note: there is enough space for adding another button without expanding the dialog.)
Re: Abe Rules Deleted.
Posted: Sat Aug 09, 2014 8:34 pm
by Guest
@ barbaz.
The link you gave is to an unrelated thread.I think a number or two got accidentally cut off.
No I need you to ask Giorgio because he ignores most threads and lets you guys handle it.He listens to you.So Please ask him.
That Reset button is, well, supposed to reset the ABE rules
Wright...but if you accidentally click on it.You will have the exact same problem as with Undo.

We wouldn't want that,now would we.
How about greying it out with some option in about:config so it will be unselectable?
Yes obviously there's plenty of space for the Revert button and it does sound like a good idea.
However I don't think Giorgio will do it.
I think it would be easier to dump the new changes into a regular TXT file (you choose your own location of the file) with time stamps one after another.Like a Log file.
What do you think?
Re: Abe Rules Deleted.
Posted: Sat Aug 09, 2014 10:49 pm
by barbaz
Oh man, I see the problem now. This is the result of a subtle design flaw in the ABE ruleset editing GUI.
Giorgio is reusing a single text box for all rulesets rather than dynamically creating one textbox per ruleset... which means that undo history *can't* have any nice effect!
Just now in playing with it, I nuked one ruleset with Ctrl-Z, and then by doing NOTHING other than hitting Ctrl-Z and switching between rulesets, I cloned a different ruleset into the one that I had just blanked.
(Luckily for me, this profile is disposable, but in someone's main profile this could have rather disastrous consequences.)
@Giorgio: Please replace the "abeRuleset-text" textbox with an xul deck whose children are dynamically created textboxes initialized with the value of each ABE ruleset (but only created once per Options dialog instance, so that undo history would persist until Options dialog is closed). I
think (haven't checked yet, will verify later) that this would prevent Ctrl-Z from wiping out an entire ruleset, it would mean that Undo history isn't shared between editing different rulesets, and there would then be a way to revert an ABE ruleset to the way it was before opening NoScript Options.
(Should I be posting that in its own thread in NoScript Development?)
Guest wrote:Wright...but if you accidentally click on it.You will have the exact same problem as with Undo.

We wouldn't want that,now would we.
How about greying it out with some option in about:config so it will be unselectable?
Let's not do anything crazy there, a simple confirmation dialog (like what you get if you try to reset entire NoScript Options from the GUI) would address that concern.
Re: Abe Rules Deleted.
Posted: Thu Aug 14, 2014 9:17 am
by Guest
@ Giorgio.
I know you are very busy but it's been 5 days and still no reply.
Giorgio do you plan on fixing this "bug?" Loosing all of your ABE rules by accidentally clicking on Undo or the Reset button with no way to recover them.Is not only devastating but ridiculous.
BTW based on barbaz's last post.Is this why the ABE rules snap to the beginning/1st line when the window looses focus or why making one mistake "breaks all of the rules?"
If so...could you please fix that as well?
Thank you.
Re: Abe Rules Deleted.
Posted: Thu Aug 14, 2014 2:24 pm
by Giorgio Maone
Guest wrote:@ Giorgio.
I know you are very busy but it's been 5 days and still no reply.
I do not know why, but I did not receive any notification about this thread so far, so I'm noticing it just now.
Yes, I'm gonna fix the bug ASAP.
Re: Abe Rules Deleted.
Posted: Thu Aug 14, 2014 3:09 pm
by Guest
Hello Giorgio.
Thank you very much.
And to pile on more problems:
#1
The buttons on the bottom of the Options just disappear if you make a mistake in ABE.
#2
When you make the correction.The error box disappears but the window doesn't shrink. (Not that important.)
#3
Is it possible to get rid of Case sensitivity?
I'm tired of making identical rules with lower case and with caps. (Both in syntax and in the lines of the rules themselves.)
I think it has something to do with this:
fragment URI_START : 'a'..'z' | '0'..'9' ;
fragment URI_PART : 'a'..'z' | 'A'..'Z' | '0'..'9' | '_' | '-' | '.' |
'[' | ']' | ':' | '/' | '@' | '~' | ';' | ',' |
'?' | '&' | '=' | '%' | '#' ;
AND
ALL : 'ALL' ;
SUB : 'SUB' ;
INC : 'INC' 'LUSION'? ;
INC_TYPE : 'OTHER' | 'SCRIPT' | 'IMAGE' | 'CSS' | 'OBJ' | 'SUBDOC' | 'XBL' | 'PING' | 'XHR' | 'OBJSUB' | 'DTD' | 'FONT' | 'MEDIA' ;
HTTPVERB : 'A'..'Z' 'A'..'Z'+ ;
Re: Abe Rules Deleted.
Posted: Thu Aug 14, 2014 6:12 pm
by barbaz
Guest wrote:
#1
The buttons on the bottom of the Options just disappear if you make a mistake in ABE.
#2
When you make the correction.The error box disappears but the window doesn't shrink. (Not that important.)
Would be fixed with
viewtopic.php?f=10&t=19544
Re: Abe Rules Deleted.
Posted: Fri Aug 15, 2014 4:59 am
by Guest
Hello again barbaz.
Actually I was the OP in this thread:
viewtopic.php?f=7&t=19525
Which thanks to your help resulted in these two good RFEs:
viewtopic.php?f=10&t=19544
BTW the link in that one refers to an unrelated FlashGot topic.
AND
viewtopic.php?f=10&t=19545
Looks like those nasty problems are making a comeback.
So is Giorgio aware of them?Did you PM/notify him about them?
I think he might had missed them like this thread.
Any ETA on the Case sensitivity?
Re: Abe Rules Deleted.
Posted: Fri Aug 15, 2014 5:30 am
by barbaz
Guest wrote:BTW the link in that one refers to an unrelated FlashGot topic.
What link?
All the links I checked go where expected...
Guest wrote:So is Giorgio aware of them?Did you PM/notify him about them?
I think he might had missed them like this thread.
Until now, I had assumed that he browses the whole board every couple hours or so for new topics, and silently adds NoScript & FlashGot RFEs he agrees with and bugs to his enormously long TODO list.
Well at least he'll certainly know about those threads now that you've linked them here.
Re: Abe Rules Deleted.
Posted: Fri Aug 15, 2014 11:25 am
by Guest
@ barbaz.
Guest wrote:
BTW the link in that one refers to an unrelated FlashGot topic.
What link?
All the links I checked go where expected...
go here:
viewtopic.php?f=10&t=19544
and click on "Per this post:"
That link is wrong.
Doesn't seem like Giorgio pays attention to every thread.How could he possibly find the time!?Lets hope he does return here.
Barbaz could you please PM Giorgio to keep an eye on "this" thread for the last bug fixes/RFEs I mentioned. (This one and not the one above ^ .)
Thank you.
Re: Abe Rules Deleted.
Posted: Fri Aug 15, 2014 2:42 pm
by barbaz
Weird, for me that link points to your post where you asked me to make the RFEs...
Guest wrote:Barbaz could you please PM Giorgio to keep an eye on "this" thread for the last bug fixes/RFEs I mentioned. (This one and not the one above ^ .)
Not right now, but if there's no response within a couple weeks or so I will.
Re: Abe Rules Deleted.
Posted: Sun Aug 17, 2014 1:56 pm
by Guest
@ barbaz.
I'm sorry for the late reply.I had been busy.
Yes the link is correct now.Thank you.
I don't see any mention of this in the development version.I think Giorgio forgot?
Could you please PM him?