You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Rami Swailem (Jira)" <ji...@apache.org> on 2020/01/22 14:19:00 UTC
[jira] [Created] (NETBEANS-3729) [FlatLaf] Strang Bug in
BaseProgressUtils.showProgressDialogAndRun
Rami Swailem created NETBEANS-3729:
--------------------------------------
Summary: [FlatLaf] Strang Bug in BaseProgressUtils.showProgressDialogAndRun
Key: NETBEANS-3729
URL: https://issues.apache.org/jira/browse/NETBEANS-3729
Project: NetBeans
Issue Type: Bug
Components: platform - Progress
Affects Versions: Next
Environment: Product Version: Apache NetBeans IDE DEV (Build dev-e9111499a7b3d71fce5496a633116574f617067b)
Updates: Updates available
Java: 15-ea; OpenJDK 64-Bit Server VM 15-ea+5-83
Runtime: OpenJDK Runtime Environment 15-ea+5-83
System: Mac OS X version 10.13.6 running on x86_64; UTF-8; en_DE (nb)
User directory: /Users/rami/Library/Application Support/NetBeans/dev
Cache directory: /Users/rami/Library/Caches/NetBeans/dev
Reporter: Rami Swailem
Assignee: Karl Tauber
Attachments: Screen Shot 2020-01-22 at 14.50.10.png, Screen Shot 2020-01-22 at 15.12.49.png
can someone reproduce the following situation? see screenshots
its happen sometimes with aqua laf but with FlatLaf always
{code:java}
@ActionID(
category = "Bugtracking",
id = "org.netbeans.BugAction"
)
@ActionRegistration(
displayName = "#CTL_BugAction"
)
@ActionReference(path = "Menu/File", position = 0)
@Messages("CTL_BugAction=BaseProgressUtils FlatLaf bug")
public class BugAction implements ActionListener {
@Override
public void actionPerformed(ActionEvent e) {
ProgressHandle progress = ProgressHandle.createHandle("displayName", () -> true);
BaseProgressUtils.showProgressDialogAndRun(operation, progress, true);
}
private Runnable operation = new Runnable() {
@Override
public void run() {
try {
Thread.sleep(6000);
} catch (Exception e) {
}
}
};
}
{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists