MozillaZine

SpellBound Development version

Announce and Discuss the Latest Theme and Extension Releases.
RobertJ
Moderator

User avatar
 
Posts: 3853
Joined: October 15th, 2003, 7:40 pm
Location: Chicago IL/Oconomowoc WI
January 10th, 2006, 1:50 pm

Post Posted January 10th, 2006, 1:50 pm

Will Pittenger wrote:It does not show up in the context menu either. The context menu is better as we get a menu key to open it.


It shows up for me. You need to have the focus (cursor) on the text box being spell checked.
FF 3.6 - Mac OSX 10.5.8 Quad-Core Intel Xeon 5500 “Nehalem”
Computers I've used: IBM 7094/UNIVAC 1108/IBM 360/DEC PDP11/DEC VAX-11 780/DEC VAXstation 8000/Sun SPARCstation 2/Mac from 1984 to 2010

RobertJ
Moderator

User avatar
 
Posts: 3853
Joined: October 15th, 2003, 7:40 pm
Location: Chicago IL/Oconomowoc WI
January 10th, 2006, 2:51 pm

Post Posted January 10th, 2006, 2:51 pm

I located the Javascript which controls the control + left click

Code: Select all
// displays a custom popup when ctrl+left-click on a misspelled word.
  onClickHandler: function(aEvent)
  {
    if (aEvent.button == 0 &&
        aEvent.ctrlKey &&
        aEvent.originalTarget.parentNode.nodeName != "scrollbar" &&
        SB_InlineHelpers.shouldShowPopup(aEvent))
      SB_InlineSC.showPopup(aEvent);
  },


If I change the second line to

Code: Select all
aEvent.altKey &&


The in line context suggestion window pops up on my Mac!!!!

Robert, I would prefer not to have to hack Spellbound every time there is a new release; also, I'm sure most Mac users (actually most all users) have no idea how to hack an extension.

It would seem that there are three ways of handling this:

1 - Put an option in the preferences

2 - Set up unique xpi package for OS X

3 - Change the inlineSpellCheck.js as follows


Code: Select all

  onClickHandler: function(aEvent)
  {
    if (aEvent.button == 0 &&
        (aEvent.ctrlKey ||  aEvent.altKey) &&
        aEvent.originalTarget.parentNode.nodeName != "scrollbar" &&
        SB_InlineHelpers.shouldShowPopup(aEvent))
      SB_InlineSC.showPopup(aEvent);
  },



Thanks for all your effort on this extension.

bob j


EDITED: JAN 11 2006 @ 11:05 GMT
FF 3.6 - Mac OSX 10.5.8 Quad-Core Intel Xeon 5500 “Nehalem”
Computers I've used: IBM 7094/UNIVAC 1108/IBM 360/DEC PDP11/DEC VAX-11 780/DEC VAXstation 8000/Sun SPARCstation 2/Mac from 1984 to 2010

sdwilsh
 
Posts: 559
Joined: November 6th, 2005, 9:46 pm
Location: California
January 11th, 2006, 5:55 pm

Post Posted January 11th, 2006, 5:55 pm

Wouldn't it be better to use the meta key (command key) since that is what replaces control on a Mac?

Code: Select all
onClickHandler: function(aEvent)
  {
    if (aEvent.button == 0 &&
        (aEvent.ctrlKey ||  aEvent.metaKey) &&
        aEvent.originalTarget.parentNode.nodeName != "scrollbar" &&
        SB_InlineHelpers.shouldShowPopup(aEvent))
      SB_InlineSC.showPopup(aEvent);
  },


Just my $.02

Will Pittenger

User avatar
 
Posts: 610
Joined: April 3rd, 2005, 6:10 pm
Location: Morton, IL
January 11th, 2006, 10:10 pm

Post Posted January 11th, 2006, 10:10 pm

I must agree with RobertJ in that hacking extensions or Firefox is too much for most users. I don't even know how to do that. Anyone who wants the average IE user to pick Firefox instead must vote against requiring the hack.
Will Pittenger

Old R.Marotta
 
Posts: 0
Joined: December 31st, 1969, 5:00 pm
January 12th, 2006, 8:40 am

Post Posted January 12th, 2006, 8:40 am

@RobertJ;

Where did you find "InlineSpellCheck.JS" ? - I Looked inside of the Spellbound package, but could not find it...

;; Would like to mod the file with the the above Fix from Comadre693....OR Better Yet...Can I Grab a copy of your Fix, But using Comadre693 "Control Key" fix?

- Ray

Lee_Dailey

User avatar
 
Posts: 8212
Joined: July 27th, 2004, 4:33 pm
Location: milky way galaxy, sol system, terra, north america, usa, tx, bedford
January 12th, 2006, 9:31 am

Post Posted January 12th, 2006, 9:31 am

howdy Robert S..

[0] thanks! this extension works just spiffy!

[1] various bits of info
- my ff info ...
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8) Gecko/20051111 Firefox/1.5 - Build ID: 2005111116

- my tb info ...
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8) Gecko/20051201 Thunderbird/1.5 - Build ID: 2005120115

- spellbound info
spellbound development version 0.9.8.20060108

[2] tb150/spellbound spell check diffs
noticed spell check differences in spellbound and tb150. for instance ...
- spellbound
2nd = misspelled
- tbird150
2nd = just fine

[3] myspell.dll version numbers
looked and found the dll files and the versions report this ...

spellbound myspell.dll
- company name = Mozilla Foundation
- product name = Thunderbird
- version = 1.8.20060.10209

tb150 myspell.dll
- company name = Mozilla Foundation
- product name = Thunderbird
- version = 1.8.20051.20115

perhaps item [2] is caused by item [3]? the en-us.dic and en-us.aff files seem to be identical so i don't think they are the cause.

take care,
lee

__________
edit - ee-lay an't-cay ell-spay oo-tay ood-gay, an-cay e-hay?
Last edited by Lee_Dailey on January 12th, 2006, 9:37 am, edited 2 times in total.

Tannerman
 
Posts: 20
Joined: September 18th, 2004, 12:15 pm
January 12th, 2006, 9:35 am

Post Posted January 12th, 2006, 9:35 am

I upgraded to 0.9.8.20060108 and now I find that while the Extension notes typos inline, I can no longer click on them to get suggestions for correct spellings. I click and nothing happens. Is there a new setting a need to be aware of? I didn't have this problem with the previous Development version.

Lee_Dailey

User avatar
 
Posts: 8212
Joined: July 27th, 2004, 4:33 pm
Location: milky way galaxy, sol system, terra, north america, usa, tx, bedford
January 12th, 2006, 9:39 am

Post Posted January 12th, 2006, 9:39 am

howdy Tannerman,

ya hafta ctrl-lft-clk to get the list ...

hope that helps,
lee

RobertJ
Moderator

User avatar
 
Posts: 3853
Joined: October 15th, 2003, 7:40 pm
Location: Chicago IL/Oconomowoc WI
January 12th, 2006, 9:51 am

Post Posted January 12th, 2006, 9:51 am

rmpmw wrote:@RobertJ;

Where did you find "InlineSpellCheck.JS" ? - I Looked inside of the Spellbound package, but could not find it...

;; Would like to mod the file with the the above Fix from Comadre693....OR Better Yet...Can I Grab a copy of your Fix, But using Comadre693 "Control Key" fix?

- Ray


The file is here

spellbound.jar [unzipped]/content/inlineSpellCheck.js"
FF 3.6 - Mac OSX 10.5.8 Quad-Core Intel Xeon 5500 “Nehalem”
Computers I've used: IBM 7094/UNIVAC 1108/IBM 360/DEC PDP11/DEC VAX-11 780/DEC VAXstation 8000/Sun SPARCstation 2/Mac from 1984 to 2010

slick

User avatar
 
Posts: 247
Joined: January 26th, 2005, 8:48 am
Location: Hot Springs National Park, Arkansas
January 12th, 2006, 9:54 am

Post Posted January 12th, 2006, 9:54 am

I downloaded the Dictionary to my desktop.

The instructions say:

1. Copy the link from the Installation page
2. Select the Tools menu
3. Select the Extensions menu item
4. Click Install

Item 4. I don't have an "Install"?

But Spellbound is working so much better than the old version.
Even without the Dictionary.

Tannerman
 
Posts: 20
Joined: September 18th, 2004, 12:15 pm
January 12th, 2006, 10:57 am

Post Posted January 12th, 2006, 10:57 am

Thanks Lee. That helps! Was the change made to improve some buggy issue?

Pete_L_P
 
Posts: 11
Joined: August 20th, 2005, 7:46 pm
January 12th, 2006, 11:41 am

Post Posted January 12th, 2006, 11:41 am

Robert S.

Thanks very, very much for implementing the Ctrl-Click feature for the pop-up menu. It always feels totally natural now. An absolute pleasure to use.

Pete

XerBlade

User avatar
 
Posts: 865
Joined: October 4th, 2005, 10:45 pm
Location: Nashville, TN, US
January 12th, 2006, 12:05 pm

Post Posted January 12th, 2006, 12:05 pm

slick wrote:I downloaded the Dictionary to my desktop.

The instructions say:

1. Copy the link from the Installation page
2. Select the Tools menu
3. Select the Extensions menu item
4. Click Install

Item 4. I don't have an "Install"?

But Spellbound is working so much better than the old version.
Even without the Dictionary.

That would only work in Thunderbird or in Firefox with MR Tech Local Install installed (which adds the Install buttons from Thunderbird).
It doesn't matter, though, as those instructions are for Thunderbird anyway. In Firefox, all you have to do is click the link, and it will install the same as an extension would (the instructions given are the method to install an extension on Thunderbird, actually, since Thunderbird can't just go to the webpage and click the link, obviously).
Pete_L_P wrote:Robert S.

Thanks very, very much for implementing the Ctrl-Click feature for the pop-up menu. It always feels totally natural now. An absolute pleasure to use.

Pete

It feels rather unnatural to me. Perhaps an option to select what key/mouse action triggers it would help. I'd personally like to have it on middle click, however that conflicts with a few other extensions (middle-clicking on text), extensions which I don't use anyway. Or I'd also like it on double-click, which also potentially conflicts with a planned future version of Dictionary Tooltip, which I do use, however, I disable the clicking options for that extension and just use the context menu anyway.
User Agent
Extensions
AMD64/2.41GHz RAM/1.0GB ATI/256MB-GDDR3/128-bit/8xAGP Cable6.0M/384kbps

Lee_Dailey

User avatar
 
Posts: 8212
Joined: July 27th, 2004, 4:33 pm
Location: milky way galaxy, sol system, terra, north america, usa, tx, bedford
January 12th, 2006, 1:18 pm

Post Posted January 12th, 2006, 1:18 pm

Tannerman wrote:Thanks Lee. That helps! Was the change made to improve some buggy issue?


howdy Tannerman,

from reading thru this thread, it seems apparent that it was done to avoid keystroke conflicts. there are several posts on the page your msg is on that talk about various conflicts that still exist and the request for workarounds.

take care,
lee

Pete_L_P
 
Posts: 11
Joined: August 20th, 2005, 7:46 pm
January 12th, 2006, 4:27 pm

Post Posted January 12th, 2006, 4:27 pm

Tannerman wrote:Thanks Lee. That helps! Was the change made to improve some buggy issue?


Many people, including me, complained that the simple left click got in the way when we saw a typo and just wanted to click and edit it. Clicking and editing is a habit formed over many years, and hard to break. You'd click and start typing and then notice the menu was up. Often times clicking and typing would activate an option off the pop up menu. It could get very annoying and very ugly.

Pete

Return to Extension/Theme Releases


Who is online

Users browsing this forum: pb2k, SeaLion, Yochanan and 9 guests