You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pivot.apache.org by "Dirk Moebius (JIRA)" <ji...@apache.org> on 2010/04/19 11:06:50 UTC

[jira] Created: (PIVOT-469) TableView multi-select: ctrl-clicking doesn't repaint correctly

TableView multi-select: ctrl-clicking doesn't repaint correctly
---------------------------------------------------------------

                 Key: PIVOT-469
                 URL: https://issues.apache.org/jira/browse/PIVOT-469
             Project: Pivot
          Issue Type: Bug
          Components: wtk-terra
    Affects Versions: 1.4, 1.5
            Reporter: Dirk Moebius
            Priority: Minor


TableView with selectMode=multi: select a range of rows, then deselect one row by clicking it with the mouse while holding CTRL. Don't move the mouse. As long as you don't move the mouse the row is not repainted, so it seems as if the row is still selected.

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


[jira] Updated: (PIVOT-469) TableView multi-select: ctrl-clicking doesn't repaint correctly

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

Greg Brown updated PIVOT-469:
-----------------------------

    Fix Version/s: 1.5

> TableView multi-select: ctrl-clicking doesn't repaint correctly
> ---------------------------------------------------------------
>
>                 Key: PIVOT-469
>                 URL: https://issues.apache.org/jira/browse/PIVOT-469
>             Project: Pivot
>          Issue Type: Bug
>          Components: wtk-terra
>    Affects Versions: 1.4, 1.5
>            Reporter: Dirk Moebius
>            Priority: Minor
>             Fix For: 1.5
>
>         Attachments: pivot-469-ListSelection_toString.patch, pivot-469.patch
>
>
> TableView with selectMode=multi: select a range of rows, then deselect one row by clicking it with the mouse while holding CTRL. Don't move the mouse. As long as you don't move the mouse the row is not repainted, so it seems as if the row is still selected.

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


[jira] Commented: (PIVOT-469) TableView multi-select: ctrl-clicking doesn't repaint correctly

Posted by "Greg Brown (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PIVOT-469?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12858852#action_12858852 ] 

Greg Brown commented on PIVOT-469:
----------------------------------

FYI, I moved the ListSelection patch to PIVOT-471 since it is more closely related to that change.


> TableView multi-select: ctrl-clicking doesn't repaint correctly
> ---------------------------------------------------------------
>
>                 Key: PIVOT-469
>                 URL: https://issues.apache.org/jira/browse/PIVOT-469
>             Project: Pivot
>          Issue Type: Bug
>          Components: wtk-terra
>    Affects Versions: 1.4, 1.5
>            Reporter: Dirk Moebius
>            Priority: Minor
>             Fix For: 1.5
>
>         Attachments: pivot-469.patch
>
>
> TableView with selectMode=multi: select a range of rows, then deselect one row by clicking it with the mouse while holding CTRL. Don't move the mouse. As long as you don't move the mouse the row is not repainted, so it seems as if the row is still selected.

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


[jira] Updated: (PIVOT-469) TableView multi-select: ctrl-clicking doesn't repaint correctly

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

Greg Brown updated PIVOT-469:
-----------------------------

    Attachment:     (was: pivot-469-ListSelection_toString.patch)

> TableView multi-select: ctrl-clicking doesn't repaint correctly
> ---------------------------------------------------------------
>
>                 Key: PIVOT-469
>                 URL: https://issues.apache.org/jira/browse/PIVOT-469
>             Project: Pivot
>          Issue Type: Bug
>          Components: wtk-terra
>    Affects Versions: 1.4, 1.5
>            Reporter: Dirk Moebius
>            Priority: Minor
>             Fix For: 1.5
>
>         Attachments: pivot-469.patch
>
>
> TableView with selectMode=multi: select a range of rows, then deselect one row by clicking it with the mouse while holding CTRL. Don't move the mouse. As long as you don't move the mouse the row is not repainted, so it seems as if the row is still selected.

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


[jira] Updated: (PIVOT-469) TableView multi-select: ctrl-clicking doesn't repaint correctly

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

Dirk Moebius updated PIVOT-469:
-------------------------------

    Attachment: pivot-469-ListSelection_toString.patch

While you are at it, it would be nice if you add toString() methods to ListSelection and ListSelectionSequence. It helps debugging a lot. See attached patch.

> TableView multi-select: ctrl-clicking doesn't repaint correctly
> ---------------------------------------------------------------
>
>                 Key: PIVOT-469
>                 URL: https://issues.apache.org/jira/browse/PIVOT-469
>             Project: Pivot
>          Issue Type: Bug
>          Components: wtk-terra
>    Affects Versions: 1.4, 1.5
>            Reporter: Dirk Moebius
>            Priority: Minor
>         Attachments: pivot-469-ListSelection_toString.patch, pivot-469.patch
>
>
> TableView with selectMode=multi: select a range of rows, then deselect one row by clicking it with the mouse while holding CTRL. Don't move the mouse. As long as you don't move the mouse the row is not repainted, so it seems as if the row is still selected.

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


[jira] Commented: (PIVOT-469) TableView multi-select: ctrl-clicking doesn't repaint correctly

Posted by "Dirk Moebius (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PIVOT-469?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12858857#action_12858857 ] 

Dirk Moebius commented on PIVOT-469:
------------------------------------

I verified your checkin successfully. Thanks.

> TableView multi-select: ctrl-clicking doesn't repaint correctly
> ---------------------------------------------------------------
>
>                 Key: PIVOT-469
>                 URL: https://issues.apache.org/jira/browse/PIVOT-469
>             Project: Pivot
>          Issue Type: Bug
>          Components: wtk-terra
>    Affects Versions: 1.4, 1.5
>            Reporter: Dirk Moebius
>            Priority: Minor
>             Fix For: 1.5
>
>         Attachments: pivot-469.patch
>
>
> TableView with selectMode=multi: select a range of rows, then deselect one row by clicking it with the mouse while holding CTRL. Don't move the mouse. As long as you don't move the mouse the row is not repainted, so it seems as if the row is still selected.

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


[jira] Resolved: (PIVOT-469) TableView multi-select: ctrl-clicking doesn't repaint correctly

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

Greg Brown resolved PIVOT-469.
------------------------------

    Resolution: Fixed

Good catch. I checked in a slightly different version of the fix that is essentially copy/paste from TerraListViewSkin. Thanks for identifying this.


> TableView multi-select: ctrl-clicking doesn't repaint correctly
> ---------------------------------------------------------------
>
>                 Key: PIVOT-469
>                 URL: https://issues.apache.org/jira/browse/PIVOT-469
>             Project: Pivot
>          Issue Type: Bug
>          Components: wtk-terra
>    Affects Versions: 1.4, 1.5
>            Reporter: Dirk Moebius
>            Priority: Minor
>             Fix For: 1.5
>
>         Attachments: pivot-469-ListSelection_toString.patch, pivot-469.patch
>
>
> TableView with selectMode=multi: select a range of rows, then deselect one row by clicking it with the mouse while holding CTRL. Don't move the mouse. As long as you don't move the mouse the row is not repainted, so it seems as if the row is still selected.

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


[jira] Updated: (PIVOT-469) TableView multi-select: ctrl-clicking doesn't repaint correctly

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

Dirk Moebius updated PIVOT-469:
-------------------------------

    Attachment: pivot-469.patch

fixes this issue.

> TableView multi-select: ctrl-clicking doesn't repaint correctly
> ---------------------------------------------------------------
>
>                 Key: PIVOT-469
>                 URL: https://issues.apache.org/jira/browse/PIVOT-469
>             Project: Pivot
>          Issue Type: Bug
>          Components: wtk-terra
>    Affects Versions: 1.4, 1.5
>            Reporter: Dirk Moebius
>            Priority: Minor
>         Attachments: pivot-469.patch
>
>
> TableView with selectMode=multi: select a range of rows, then deselect one row by clicking it with the mouse while holding CTRL. Don't move the mouse. As long as you don't move the mouse the row is not repainted, so it seems as if the row is still selected.

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