You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jspwiki.apache.org by "Klaus Malorny (JIRA)" <ji...@apache.org> on 2008/09/22 15:58:44 UTC

[jira] Created: (JSPWIKI-380) Annoying backspace behaviour of editor

Annoying backspace behaviour of editor
--------------------------------------

                 Key: JSPWIKI-380
                 URL: https://issues.apache.org/jira/browse/JSPWIKI-380
             Project: JSPWiki
          Issue Type: Bug
          Components: Editors
    Affects Versions: 2.8
         Environment: Firefox 3.1 (daily build), Linux, Windows
            Reporter: Klaus Malorny
             Fix For: 2.8


I've used 2.4 a lot, recently installed 2.6, but not used that much and now playing around with 2.8 beta 1. I discovered the behaviour in 2.6, but since it is still present in 2.8,  I decided to file it as a bug, although it may be that some regard this actually as a feature.

The behaviour I am talking about is within the default plain text editor with the additional support implemented via JavaScript. It happens to me that if I hit the backspace key, it does not delete only the last character, but up to four spaces. This is annoying if I edit a table where I want the columns in the text view as well. Using the key repetition function of the keyboard, it happens frequently that I get a single character too far. If I hit the delete key in such a situation, I have to add three more spaces to go to the originally intended column.

Please remove that "feature" or make it at least somehow configurable. Thanks.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (JSPWIKI-380) Annoying backspace behaviour of editor

Posted by "Dirk Frederickx (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JSPWIKI-380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12635500#action_12635500 ] 

Dirk Frederickx commented on JSPWIKI-380:
-----------------------------------------


I most cases, backspacing is properly deleting the character before the caret.

With one exception ...

As per design, pressing the TAB key will insert 4 spaces. 
AND then pressing the BACKSPACE just removes those 4 spaces !

Also notice that pressing the backspace before 4 spaces always removes 4 spaces as the editor assumes you removing a tab ;-)


So this behavior is not a bug, but as designed.




dirk

> Annoying backspace behaviour of editor
> --------------------------------------
>
>                 Key: JSPWIKI-380
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-380
>             Project: JSPWiki
>          Issue Type: Bug
>          Components: Editors
>    Affects Versions: 2.8
>         Environment: Firefox 3.1 (daily build), Linux, Windows
>            Reporter: Klaus Malorny
>            Assignee: Dirk Frederickx
>             Fix For: 2.8
>
>
> I've used 2.4 a lot, recently installed 2.6, but not used that much and now playing around with 2.8 beta 1. I discovered the behaviour in 2.6, but since it is still present in 2.8,  I decided to file it as a bug, although it may be that some regard this actually as a feature.
> The behaviour I am talking about is within the default plain text editor with the additional support implemented via JavaScript. It happens to me that if I hit the backspace key, it does not delete only the last character, but up to four spaces. This is annoying if I edit a table where I want the columns in the text view as well. Using the key repetition function of the keyboard, it happens frequently that I get a single character too far. If I hit the delete key in such a situation, I have to add three more spaces to go to the originally intended column.
> Please remove that "feature" or make it at least somehow configurable. Thanks.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (JSPWIKI-380) Annoying backspace behaviour of editor

Posted by "Janne Jalkanen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JSPWIKI-380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12633873#action_12633873 ] 

Janne Jalkanen commented on JSPWIKI-380:
----------------------------------------

Please see JSPWIKI-382 for a possible solution.

> Annoying backspace behaviour of editor
> --------------------------------------
>
>                 Key: JSPWIKI-380
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-380
>             Project: JSPWiki
>          Issue Type: Bug
>          Components: Editors
>    Affects Versions: 2.8
>         Environment: Firefox 3.1 (daily build), Linux, Windows
>            Reporter: Klaus Malorny
>             Fix For: 2.8
>
>
> I've used 2.4 a lot, recently installed 2.6, but not used that much and now playing around with 2.8 beta 1. I discovered the behaviour in 2.6, but since it is still present in 2.8,  I decided to file it as a bug, although it may be that some regard this actually as a feature.
> The behaviour I am talking about is within the default plain text editor with the additional support implemented via JavaScript. It happens to me that if I hit the backspace key, it does not delete only the last character, but up to four spaces. This is annoying if I edit a table where I want the columns in the text view as well. Using the key repetition function of the keyboard, it happens frequently that I get a single character too far. If I hit the delete key in such a situation, I have to add three more spaces to go to the originally intended column.
> Please remove that "feature" or make it at least somehow configurable. Thanks.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (JSPWIKI-380) Annoying backspace behaviour of editor

Posted by "Janne Jalkanen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JSPWIKI-380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12635501#action_12635501 ] 

Janne Jalkanen commented on JSPWIKI-380:
----------------------------------------

Nope.  If you hit four times the space bar, and then backspace, it will still remove four spaces, AS IF you had hit the tab.  And this is really annoying, since it means that it's bloody impossible to line up anything in a {{{ - }}} -block, for example.  I've been bitten by this a few times now, too.

If tab inserts four spaces, it should be handled like four spaces - not like a tab.

> Annoying backspace behaviour of editor
> --------------------------------------
>
>                 Key: JSPWIKI-380
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-380
>             Project: JSPWiki
>          Issue Type: Bug
>          Components: Editors
>    Affects Versions: 2.8
>         Environment: Firefox 3.1 (daily build), Linux, Windows
>            Reporter: Klaus Malorny
>            Assignee: Dirk Frederickx
>             Fix For: 2.8
>
>
> I've used 2.4 a lot, recently installed 2.6, but not used that much and now playing around with 2.8 beta 1. I discovered the behaviour in 2.6, but since it is still present in 2.8,  I decided to file it as a bug, although it may be that some regard this actually as a feature.
> The behaviour I am talking about is within the default plain text editor with the additional support implemented via JavaScript. It happens to me that if I hit the backspace key, it does not delete only the last character, but up to four spaces. This is annoying if I edit a table where I want the columns in the text view as well. Using the key repetition function of the keyboard, it happens frequently that I get a single character too far. If I hit the delete key in such a situation, I have to add three more spaces to go to the originally intended column.
> Please remove that "feature" or make it at least somehow configurable. Thanks.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (JSPWIKI-380) Annoying backspace behaviour of editor

Posted by "Janne Jalkanen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JSPWIKI-380?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Janne Jalkanen updated JSPWIKI-380:
-----------------------------------

    Fix Version/s: 2.8

Yup, this is a bug.  A backspace should always delete the last entered character, not more than that...  Don't quite know what is going on there.

> Annoying backspace behaviour of editor
> --------------------------------------
>
>                 Key: JSPWIKI-380
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-380
>             Project: JSPWiki
>          Issue Type: Bug
>          Components: Editors
>    Affects Versions: 2.8
>         Environment: Firefox 3.1 (daily build), Linux, Windows
>            Reporter: Klaus Malorny
>             Fix For: 2.8
>
>
> I've used 2.4 a lot, recently installed 2.6, but not used that much and now playing around with 2.8 beta 1. I discovered the behaviour in 2.6, but since it is still present in 2.8,  I decided to file it as a bug, although it may be that some regard this actually as a feature.
> The behaviour I am talking about is within the default plain text editor with the additional support implemented via JavaScript. It happens to me that if I hit the backspace key, it does not delete only the last character, but up to four spaces. This is annoying if I edit a table where I want the columns in the text view as well. Using the key repetition function of the keyboard, it happens frequently that I get a single character too far. If I hit the delete key in such a situation, I have to add three more spaces to go to the originally intended column.
> Please remove that "feature" or make it at least somehow configurable. Thanks.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (JSPWIKI-380) Annoying backspace behaviour of editor

Posted by "Klaus Malorny (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JSPWIKI-380?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Klaus Malorny updated JSPWIKI-380:
----------------------------------

    Fix Version/s:     (was: 2.8)

> Annoying backspace behaviour of editor
> --------------------------------------
>
>                 Key: JSPWIKI-380
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-380
>             Project: JSPWiki
>          Issue Type: Bug
>          Components: Editors
>    Affects Versions: 2.8
>         Environment: Firefox 3.1 (daily build), Linux, Windows
>            Reporter: Klaus Malorny
>
> I've used 2.4 a lot, recently installed 2.6, but not used that much and now playing around with 2.8 beta 1. I discovered the behaviour in 2.6, but since it is still present in 2.8,  I decided to file it as a bug, although it may be that some regard this actually as a feature.
> The behaviour I am talking about is within the default plain text editor with the additional support implemented via JavaScript. It happens to me that if I hit the backspace key, it does not delete only the last character, but up to four spaces. This is annoying if I edit a table where I want the columns in the text view as well. Using the key repetition function of the keyboard, it happens frequently that I get a single character too far. If I hit the delete key in such a situation, I have to add three more spaces to go to the originally intended column.
> Please remove that "feature" or make it at least somehow configurable. Thanks.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (JSPWIKI-380) Annoying backspace behaviour of editor

Posted by "Dirk Frederickx (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JSPWIKI-380?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dirk Frederickx resolved JSPWIKI-380.
-------------------------------------

    Resolution: Fixed

Resolved in v2.8.0-beta-13 : remove 'tab-handling' for backspaces. Now backspaces always only delete the char at the cursor.

> Annoying backspace behaviour of editor
> --------------------------------------
>
>                 Key: JSPWIKI-380
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-380
>             Project: JSPWiki
>          Issue Type: Bug
>          Components: Editors
>    Affects Versions: 2.8
>         Environment: Firefox 3.1 (daily build), Linux, Windows
>            Reporter: Klaus Malorny
>            Assignee: Dirk Frederickx
>             Fix For: 2.8
>
>
> I've used 2.4 a lot, recently installed 2.6, but not used that much and now playing around with 2.8 beta 1. I discovered the behaviour in 2.6, but since it is still present in 2.8,  I decided to file it as a bug, although it may be that some regard this actually as a feature.
> The behaviour I am talking about is within the default plain text editor with the additional support implemented via JavaScript. It happens to me that if I hit the backspace key, it does not delete only the last character, but up to four spaces. This is annoying if I edit a table where I want the columns in the text view as well. Using the key repetition function of the keyboard, it happens frequently that I get a single character too far. If I hit the delete key in such a situation, I have to add three more spaces to go to the originally intended column.
> Please remove that "feature" or make it at least somehow configurable. Thanks.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (JSPWIKI-380) Annoying backspace behaviour of editor

Posted by "Janne Jalkanen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JSPWIKI-380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12635478#action_12635478 ] 

Janne Jalkanen commented on JSPWIKI-380:
----------------------------------------

Dirk, is it possible to just fix this one quickly and then get to JSPWIKI-382 in 3.0?

> Annoying backspace behaviour of editor
> --------------------------------------
>
>                 Key: JSPWIKI-380
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-380
>             Project: JSPWiki
>          Issue Type: Bug
>          Components: Editors
>    Affects Versions: 2.8
>         Environment: Firefox 3.1 (daily build), Linux, Windows
>            Reporter: Klaus Malorny
>            Assignee: Dirk Frederickx
>             Fix For: 2.8
>
>
> I've used 2.4 a lot, recently installed 2.6, but not used that much and now playing around with 2.8 beta 1. I discovered the behaviour in 2.6, but since it is still present in 2.8,  I decided to file it as a bug, although it may be that some regard this actually as a feature.
> The behaviour I am talking about is within the default plain text editor with the additional support implemented via JavaScript. It happens to me that if I hit the backspace key, it does not delete only the last character, but up to four spaces. This is annoying if I edit a table where I want the columns in the text view as well. Using the key repetition function of the keyboard, it happens frequently that I get a single character too far. If I hit the delete key in such a situation, I have to add three more spaces to go to the originally intended column.
> Please remove that "feature" or make it at least somehow configurable. Thanks.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.