Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 566320

Summary: When I refresh my page some header contents does not load .
Product: [RT] RAP Reporter: Soumitra Singh <soumitra.singh>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3    
Version: 3.12   
Target Milestone: ---   
Hardware: PC   
OS: Windows 10   
Whiteboard:
Attachments:
Description Flags
Screenshot for Application Startup and Refresh scenario. none

Description Soumitra Singh CLA 2020-08-24 08:46:10 EDT
Created attachment 283951 [details]
Screenshot for Application Startup and Refresh scenario.

When I refresh my page some header contents does not load .
The display property is set to null on page refresh .When i uncheck this property through developer tool it works fine.
Also my header content are visible at application startup.Its after the refresh that i am getting the issue.

Also i am migrating from RAP 2.1 version to 3.12 and also updating from Java 1.6 to 1.8.The application works fine in 2.1 version while i am getting above issue in 3.12
Comment 1 Ivan Furnadjiev CLA 2020-08-24 08:57:25 EDT
Without a simple snippet to reproduce the issue we can not help much here.
Comment 2 Soumitra Singh CLA 2020-08-25 08:08:24 EDT
I am using plugin.xml like below snippet-

command.options.name = Options
command.help.name = Help
command.window.name = Window

 <extension
         point="org.eclipse.ui.menus">
      <menuContribution
            locationURI="menu:org.eclipse.ui.main.menu">
           <menu
               id="com.test.framework.ui.rcp.main.menu.options"
               label="%command.options.name">
	------------------------------------------------------------------		   
		   <menu
               id="com.test.framework.ui.rap.main.menu.window"
               label="%command.window.name">
	-------------------------------------------------------------------
           <menu
               id="com.test.parameters.ui.rcp.main.menu.help"
               label="%command.help.name">
Comment 3 Ivan Furnadjiev CLA 2020-08-26 03:57:18 EDT
Please provide a simple test self running project to demostrate the issue.
Comment 4 Soumitra Singh CLA 2020-08-26 07:34:55 EDT
I will not be able to share the running project but i can share the screen and show you the running project where issue is occuring.We can use Microsoft Teams or Google Meet Or Webex to share the screen.
Comment 5 Ivan Furnadjiev CLA 2020-08-26 09:23:30 EDT
We don't need your code. Create a new "Hello World" workbench project from the File -> New -> Plugin Project and try to reproduce it there. It seems that you are using custom presentation factory or RAP interaction design.
Comment 6 Ivan Furnadjiev CLA 2020-08-26 10:43:38 EDT

*** This bug has been marked as a duplicate of bug 566416 ***