JRViewer problem, panels are not showing up

Found a bug? Post here.
Post Reply
kupa
Posts: 3
Joined: Sun 27. Sep 2009, 17:46

JRViewer problem, panels are not showing up

Post by kupa » Tue 29. Sep 2009, 00:13

I cannot get the Beanshell panel and the Navigator to show up in JRViewer. When the class starts, the toolbar appears for a few seconds and the menu is flickering, then the toolbar disappears, the OpenGL view works fine. It happens with different tutorial classes.
I'm on OSX 10.5.8 and tried JVM 1.5 and 1.6.
The ViewerApp works fine.
If this is not a known problem, I can look into it, but need some advise where to look.

User avatar
steffen
Posts: 186
Joined: Fri 16. Jun 2006, 13:30
Location: TU Berlin
Contact:

Re: JRViewer problem, panels are not showing up

Post by steffen » Wed 7. Oct 2009, 17:50

Hi, Sorry for the slow response, I just noticed that the mail notification is no longer for working since a week or so... Can you post the code that you use for setting up the JRViewer? Maybe you just dont have the corresponding plugins installed...? The flickering is on the todo-list... Can you toggle the Toolbar from the Window-menu?

kupa
Posts: 3
Joined: Sun 27. Sep 2009, 17:46

Re: JRViewer problem, panels are not showing up

Post by kupa » Fri 9. Oct 2009, 22:41

I've tried running the tutorial code like Intro01.java, it opens the window and it is fully filled with GJCanvas. The toolbar appears briefly and then disappears. The other panels do not show up at all, even if I they are enabled through the menu Window->Panels->... (turning them on or off has no effect)
I haven't studied the code yet, but it seems that if I do setShowPanelSlots(true, true, true, true) in JRViever then the panels work correctly, they can be turned on/off through the menu.

sechel
Posts: 69
Joined: Tue 2. Oct 2007, 09:20

Re: JRViewer problem, panels are not showing up

Post by sechel » Mon 12. Oct 2009, 12:00

Hi kupa,
this behaviour is correct. We had a discussion on what to show in the default settings of the JRViewer and in the end we felt that is is better not to overload the gui from the start. If you implement you own application you can as you already noticed say setShowPanelSlots(true, true, true, true) to view the slots. If you use one of the tutorials you can press Alt-Shift-[Left|Right|Top|Down] to get one of the panel slots.
Best regards
Stefan

ps. If you write your own application, in addition to the keyboard shortcuts you could specify a preferences file. The Controller saves the states of the panels and slots in there so that you get the same look every time you start your program.

User avatar
steffen
Posts: 186
Joined: Fri 16. Jun 2006, 13:30
Location: TU Berlin
Contact:

Re: JRViewer problem, panels are not showing up

Post by steffen » Mon 12. Oct 2009, 12:01

It is correct that one cannot toggle the slots via the menu?

kupa
Posts: 3
Joined: Sun 27. Sep 2009, 17:46

Re: JRViewer problem, panels are not showing up

Post by kupa » Tue 13. Oct 2009, 09:18

steffen wrote:It is correct that one cannot toggle the slots via the menu?

I'm talking about the Navigator and Beanshell panels, not the Shrink slots. I cannot toggle the panels from the menu. They are ON by default in the menu but they do not show up even if I toggle them on or off.
If I run Intro01.java, I get a window filled with the background. If I go to the menu Window->Panels, there are check-marks next to Beanshell and Navigator, but toggling them has no effect, they are not showing up. Same thing happens with the other tutorial classes(Icosahedron.java, for example).
This is not a major issue since the other classes work fine(like ViewerVR), but it might be confusing for the new people who are trying to run the tutorial classes in de.jreality.tutorial.intro package.

Thanks for the great work!

Alexey

User avatar
steffen
Posts: 186
Joined: Fri 16. Jun 2006, 13:30
Location: TU Berlin
Contact:

Re: JRViewer problem, panels are not showing up

Post by steffen » Thu 15. Oct 2009, 12:46

Hi, in the JRViewer, the Navigator and Beanshell panels are located inside the ShrinkSlots. Does it work when you turn on all ShrinkSlots and then set Navigator/Beanshell visible? If not this is a bug that we should fix!

Steffen.

Post Reply