RFR: 6663: Reloading the Flame Chart View in Linux displays file browser
    Jie Kang 
    jkang at openjdk.java.net
       
    Mon Jan  6 19:39:59 UTC 2020
    
    
  
The context menu to reload is disabled
The disable comes from looking at Webkit source that respects doit field:
https://github.com/eclipse/eclipse.platform.swt/blob/master/bundles/org.eclipse.swt/Eclipse%20SWT%20WebKit/gtk/org/eclipse/swt/browser/WebKit.java#L819
The issue occurs as we set Browser text to some HTML and no URL is set. The reload action seems to revisit the URL with the default result being the file system, I guess.
A bug against SWT was opened to respect HTML text set when refresh/reload.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=558846
-------------
Commits:
 - 0996a28a: 6663: Reloading the Flame Chart View in Linux displays file browser
Changes: https://git.openjdk.java.net/jmc/pull/26/files
 Webrev: https://webrevs.openjdk.java.net/jmc/26/webrev.00
  Issue: https://bugs.openjdk.java.net/browse/JMC-6663
  Stats: 8 lines in 1 file changed: 8 ins; 0 del; 0 mod
  Patch: https://git.openjdk.java.net/jmc/pull/26.diff
  Fetch: git fetch https://git.openjdk.java.net/jmc pull/26/head:pull/26
PR: https://git.openjdk.java.net/jmc/pull/26
    
    
More information about the jmc-dev
mailing list