[Mozile] Mozile 0.6.22.7 : Caret handling, etc

Max d'Ayala max at dayala.co.uk
Sat Feb 4 21:36:19 EST 2006


Hello Jon, I'll try and answer your questions.

1. Caret handling

Mozile does in fact use the general Firefox preference 
"accessibility.browsewithcaret". When you click in an editable area 
Mozile switches this preference on. If you uncheck the Mozile "Always 
show the editing cursor (caret)" option the 
accessibility.browsewithcaret preference is set to false when you click 
outside the editable area. Otherwise it is always left on. I'm not sure 
if there is any way to handle caret browsing without changing this 
preference.

It is not made clear in the Mozile docs that this standard preference is 
used. This preference can be set from the main Firefox options on the 
Advanced tab: "Allow text to be selected with the keyboard."

I guess there is a case here that some people might want to have manual 
control over the preference, and not let Mozile change it. I'll think 
about adding this as an option, and improving the docs regarding this 
point, although I don't see it a high priority issue. I think you should 
also be able to use F7 to toggle the preference if you need to change it 
quickly. There is also the added complication that Mozile switches the 
caret off when it manipulates the DOM. If you don't do this and you have 
the caret switched on it tends to jump about all over the place and  
looks very messy. So that would not be a very good side effect. If you 
had the caret switched off permanently, you wouldn't notice any flicker, 
but might find editing more difficult. I've never really known anyone to 
request the caret to be switched off during editing.

You're correct in that there is also a minor bug. If you are editing 
with Mozile and then disable Mozile the preference will be left on. 
There may be other situations where this happens as well.

Not sure how this relates to using the spacebar and page down. You'll 
have to run that bit by me again.


2. Enable / Disable Mozile

Good point. Until you mentioned it I hadn't really noticed the disable 
feature available from the Extensions dialog window by right clicking on 
the Mozile extension.

What I'll probably do is make the message a bit clearer and tell people 
to go to the Mozile>Options menu if they want to Enable Mozile. I think 
the warning alert is a sort of temporary feature anyway because I 
couldn't be bothered to do better control over the toolbar. Ideally when 
disabled I would just set the visible toolbar buttons to the inactive 
state so that you would have the normal visual indication they aren't 
available. (Like the undo button when there is nothing to undo.)


3. Enable/Disable shortcut

I knew someone would ask for this sooner or later. I did have a mouse 
shortcut earlier on but it looks like I've taken it out. I'll think 
about an easy shortcut, even if it is just temporary. Ideally I'd like 
another (thin) toolbar button that shows on/off status, and maybe the 
caret preference at the same time, although I don't have any time to do 
any more coding for a while.

Max






.


More information about the Mozile mailing list