View Issue Details

IDProjectCategoryView StatusLast Update
0001382NoesisGUIC++ SDKpublic2018-12-31 11:29
ReporternikobarliAssigned Tosfernandez 
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version2.2.0b3 
Target Version2.2.0Fixed in Version2.2.0b5 
Summary0001382: ContextMenuOpening event is not sent when button is disabled
DescriptionFrom https://www.noesisengine.com/forums/viewtopic.php?f=3&t=1549&sid=9bdfdd01c790c93445e429d25e5fb373

In WPF, we get ContextMenuOpening event on both the button and the grid.
However, in NoesisGUI, the event is not fired (it is fired if the button IsEnabled="True").
Steps To ReproduceThe XAML is as follows:

<Grid ContextMenuOpening="Grid_ContextMenuOpening">
    <Button Name="testDisabledButton" IsEnabled="False" Content="Disabled Button" ContextMenuOpening="testDisabledButton_ContextMenuOpening">
        <Button.ContextMenu>
            <ContextMenu>
                <MenuItem Header="Test 1"/>
                <MenuItem Header="Test 2"/>
            </ContextMenu>
        </Button.ContextMenu>
    </Button>
</Grid>
TagsNo tags attached.
PlatformWindows

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2018-12-29 10:21 nikobarli New Issue
2018-12-29 12:02 sfernandez Assigned To => sfernandez
2018-12-29 12:02 sfernandez Status new => assigned
2018-12-29 12:02 sfernandez Target Version => 2.2.0
2018-12-31 11:29 sfernandez Status assigned => resolved
2018-12-31 11:29 sfernandez Resolution open => fixed
2018-12-31 11:29 sfernandez Fixed in Version => 2.2.0b5