You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2012/06/23 16:28:54 UTC

[Bug 120065] New: Enabled property should be work on grid control model

https://issues.apache.org/ooo/show_bug.cgi?id=120065

          Priority: P3
            Bug ID: 120065
          Assignee: ooo-issues@incubator.apache.org
           Summary: Enabled property should be work on grid control model
          Severity: normal
        Issue Type: DEFECT
    Classification: Code
                OS: All
          Reporter: hanya.runo@gmail.com
          Hardware: All
            Status: CONFIRMED
           Version: AOO 3.4.0
         Component: code
           Product: framework

Some control model supports Enabled property to switch enabled/disabled state
of the control. 
It has Enabled property but it does not work and not listed in its IDL.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Issue 120065] Enabled property should be work on grid control model

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=120065

zhaoshzh <ao...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |VERIFIED

--- Comment #9 from zhaoshzh <ao...@gmail.com> ---
verified on AOO410m14(Build:9760)  -  Rev. 1585624

-- 
You are receiving this mail because:
You are the assignee for the issue.
You are watching all issue changes.

[Bug 120065] Enabled property should be work on grid control model

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=120065

--- Comment #2 from hanya <ha...@gmail.com> ---
Created attachment 80889
  --> https://issues.apache.org/ooo/attachment.cgi?id=80889&action=edit
Patch to fix problems described in Comment 2

The patch introduces the way for GridTableRenderer to check the current state
enable/disabled.
Text and images are drawn with disabled style.
To make Enabled property work before dialog execution, 
setEnable method is overridden in SVTXGridControl class. 
Second parameter of Window::Enable method should be true for the grid, it
seems.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Issue 120065] Enabled property should be work on grid control model

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=120065

--- Comment #8 from zhaoshzh <ao...@gmail.com> ---
should change the option of security setting.
so it is verified on AOO410m15(Build:9761)  -  Rev. 1585021
Rev.1585021

-- 
You are receiving this mail because:
You are the assignee for the issue.
You are watching all issue changes.

[Bug 120065] Enabled property should be work on grid control model

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=120065

--- Comment #1 from hanya <ha...@gmail.com> ---
Created attachment 80875
  --> https://issues.apache.org/ooo/attachment.cgi?id=80875&action=edit
To verify this problem

The attached odt file contains dialog with grid control.
- Open the document and click "Grid" button placed on text body.
- dialog shown with the grid control, "Enable", "Disable" buttons and two more
controls.
-> Enabled property of the grid model has been set before the dialog is shown, 
   so it should be disabled. But you can click to choose a row in the grid.
- Push "Disable" button to set Enabled property to False.
-> Click on the grid, you can not select any rows in the grid. It is disabled.
- Push "Enable" button to set Enabled property to True.
- > You can select a row in the grid.

Now the problems are:
- text and graphic in the grid are not drawn in disabled color in disabled
state.
- changing Enabled property before the showing the grid control not working
well.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 120065] Enabled property should be work on grid control model

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=120065

jsc@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.1.0

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.

[Bug 120065] Enabled property should be work on grid control model

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=120065

--- Comment #5 from SVN Robot <sv...@dev.null.org> ---
"jsc" committed SVN revision 1552497 into trunk:
#120065# apply patch for Enabled property in grid model

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.

[Bug 120065] Enabled property should be work on grid control model

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=120065

--- Comment #4 from jsc@apache.org ---
patch reviewed and checked locally, as soon as svn is back I will commit it.

Thanks for the patch

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.

[Bug 120065] Enabled property should be work on grid control model

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=120065

jsc@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #80875|0                           |1
        is obsolete|                            |
                 CC|                            |jsc@apache.org

--- Comment #3 from jsc@apache.org ---
Created attachment 82140
  --> https://issues.apache.org/ooo/attachment.cgi?id=82140&action=edit
Test document 120065_GridEnabled.odt for verification

Replace test document with a new one, toggle state of the buttons ...

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.

[Bug 120065] Enabled property should be work on grid control model

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=120065

jsc@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CONFIRMED                   |RESOLVED
         Resolution|---                         |FIXED

--- Comment #6 from jsc@apache.org ---
patch applied on trunk

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.

[Issue 120065] Enabled property should be work on grid control model

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=120065

zhaoshzh <ao...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |aoo.zhaoshzh@gmail.com

--- Comment #7 from zhaoshzh <ao...@gmail.com> ---
Open the document and click "Grid" button placed on text body.
no dialog shown with the grid control

AOO410m15(Build:9761)  -  Rev. 1585021
Rev.1585021

-- 
You are receiving this mail because:
You are the assignee for the issue.
You are watching all issue changes.