pivot-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Todd Volkert (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (PIVOT-40) Interaction issues with Pivot and native modal dialogs
Date Thu, 09 Jul 2009 13:54:14 GMT

     [ https://issues.apache.org/jira/browse/PIVOT-40?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Todd Volkert reassigned PIVOT-40:
---------------------------------

    Assignee: Todd Volkert  (was: Greg Brown)

> Interaction issues with Pivot and native modal dialogs
> ------------------------------------------------------
>
>                 Key: PIVOT-40
>                 URL: https://issues.apache.org/jira/browse/PIVOT-40
>             Project: Pivot
>          Issue Type: Bug
>          Components: wtk
>    Affects Versions: 1.1
>         Environment: All
>            Reporter: Todd Volkert
>            Assignee: Todd Volkert
>            Priority: Minor
>             Fix For: 1.3
>
>         Attachments: screenshot.png
>
>
> What steps will reproduce the problem?
> 1. Create a PushButton with a tooltip
> 2. Wire up a Swing file chooser dialog to the button (see code below)
> 3. Click the button
> {{{!
> pivot.wtk.PushButton button = (pivot.wtk.PushButton)serializer.getObjectByName("button");
> button.getButtonPressListeners().add(new pivot.wtk.ButtonPressListener() {
>     @SuppressWarnings("deprecation")
>     public void buttonPressed(pivot.wtk.Button button) {
>         java.awt.Container displayHost = button.getDisplay().getDisplayHost();
>         javax.swing.JFileChooser fileChooser = new javax.swing.JFileChooser();
>         fileChooser.showSaveDialog(displayHost);
>     }
> });
> }}}
> What is the expected output? What do you see instead?
> The display host does not see any mouse activity after the [modal] file
> dialog is opened, and as such, the tool-tip timer activates the tool-tip
> incorrectly.  The button also does not repaint itself as it should.
> See attached screen shot.
> We don't want to cater to deprecated use cases, but I'm wondering if there
> isn't a native event we could listen for in DisplayHost (like
> enabledChanged) that could allow us to easily solve this problem.

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


Mime
View raw message