Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » scout » SWT: Switching between SearchForm/TableForm-Pairs does not work
SWT: Switching between SearchForm/TableForm-Pairs does not work [message #1053341] Sat, 04 May 2013 02:38 Go to next message
Volkert B. is currently offline Volkert B.
Messages: 12
Registered: June 2012
Junior Member
Dear all.

switching between SearchForm/TableForm-Pairs seems not to work in an SWT-Client.

You can reproduce it with the MiniCRM-Example

If you select "Company" in the StandardTreeView the CompanySearchForm is displayed together with its CompanyTablePage. That is correct.

If you select "Person" in the StandardTreeView the PersonSearchForm is not displayed, only its PersonTablePage. It looks like an bug here (refreshing problem?)

Everything works as expected in the Swing-Client.

Can someone reproduce this behaviour? If so, i can open a new bug ticket.

BW,
Volkert
---
Eclipse Juno SR2 / Scout 3.8.2
Windows 7 SP1
Java 1.7.0_21

[Updated on: Mon, 06 May 2013 00:12]

Report message to a moderator

Re: SWT: Switching between SearchForm/TableForm-Pairs does not work [message #1053434 is a reply to message #1053341] Sun, 05 May 2013 11:55 Go to previous messageGo to next message
Jeremie Bresson is currently offline Jeremie Bresson
Messages: 530
Registered: October 2011
Senior Member
Hi,

You indicate that you have a "Scout Juno SR2" version.

I assume you have:
- Eclipse 4.2.2
- Scout 3.8.2
=> That is the version that today comes when you download "Eclipse for Scout Developers" from the download page.

Another possibility could be to have an Eclipse 3.8.2 + Scout 3.8.2 (Eclipse 3.8.2 is also the Juno SR2 release).

View handling with an Eclipse 4.x runtime is not so well supported yet. We are working on it, but don't have a solution yet. (I also experienced view handling problem with a 4.3.0 M6 Eclipse and scout 3.9.0 M6... I am not sure they are the same problem, but I can imagine they are related)


Can you confirm this?

Re: SWT: Switching between SearchForm/TableForm-Pairs does not work [message #1053452 is a reply to message #1053434] Mon, 06 May 2013 00:11 Go to previous messageGo to next message
Volkert B. is currently offline Volkert B.
Messages: 12
Registered: June 2012
Junior Member
Jeremie Bresson wrote on Sun, 05 May 2013 17:55
Hi,

You indicate that you have a "Scout Juno SR2" version.

I assume you have:
- Eclipse 4.2.2
- Scout 3.8.2
=> That is the version that today comes when you download "Eclipse for Scout Developers" from the download page.

Another possibility could be to have an Eclipse 3.8.2 + Scout 3.8.2 (Eclipse 3.8.2 is also the Juno SR2 release).

.....

Can you confirm this?


Yes, Scout 3.8.2.201302111336
Re: SWT: Switching between SearchForm/TableForm-Pairs does not work [message #1053456 is a reply to message #1053452] Mon, 06 May 2013 01:46 Go to previous messageGo to next message
Jeremie Bresson is currently offline Jeremie Bresson
Messages: 530
Registered: October 2011
Senior Member
What is really relevant in this case is the version of the Eclipse Runtime you are using.

4.2.2 or 3.8.2? (both are called Juno)

[Updated on: Mon, 06 May 2013 02:14]

Report message to a moderator

Re: SWT: Switching between SearchForm/TableForm-Pairs does not work [message #1053472 is a reply to message #1053456] Mon, 06 May 2013 03:48 Go to previous messageGo to next message
Urs Beeli is currently offline Urs Beeli
Messages: 302
Registered: October 2012
Location: Bern, Switzerland
Senior Member
This sounds supspiciously like the bug described here: https://bugs.eclipse.org/bugs/show_bug.cgi?id=388701

I also saw this bug in my minicrm project. Upgrading the target platform to use Kepler M4 or later should solve this problem.
Re: SWT: Switching between SearchForm/TableForm-Pairs does not work [message #1053498 is a reply to message #1053456] Mon, 06 May 2013 05:53 Go to previous messageGo to next message
Volkert B. is currently offline Volkert B.
Messages: 12
Registered: June 2012
Junior Member
Jeremie Bresson wrote on Mon, 06 May 2013 07:46
What is really relevant in this case is the version of the Eclipse Runtime you are using.

4.2.2 or 3.8.2? (both are called Juno)


i downloaded the package you find here

http://www.eclipse.org/downloads/packages/eclipse-scout-developers/junosr2

and used it "out of the box".

Volkert
Re: SWT: Switching between SearchForm/TableForm-Pairs does not work [message #1053509 is a reply to message #1053498] Mon, 06 May 2013 06:56 Go to previous message
Jeremie Bresson is currently offline Jeremie Bresson
Messages: 530
Registered: October 2011
Senior Member
Volkert B. wrote on Mon, 06 May 2013 11:53
and used it "out of the box".


This version is Eclipse 4.2.2 and Scout 3.8.2

I am not sure if there will be an official release of a Scout 3.8.3 version (maybe as part of a LTS program, but nothing for sure).

Scout 3.9.0 is coming by the end of June. It will be shipped with Eclipse 4.3.0
You can get a preview from this version on this page (developer preview download). This week is still 3.9.0 M6, by the end of the week it will be 3.9.0 M7.

According to Urs and its comment in Bug 388701, your bug might be fixed with this version.


I noticed a lot of other wired behavior when you use 4.x Eclipse runtime in combination with a Scout 3.x. For Scout SWT Application I prefer to use an Eclipse 3.x runtime.

Previous Topic:SVG Field in Swing and in SWT
Next Topic:Missing property changes in Custom Field
Goto Forum:
  


Current Time: Wed Apr 23 17:43:57 EDT 2014

Powered by FUDForum. Page generated in 0.02757 seconds