HI Cedric,

Changing the order would be fine.  This would also apply to the camera
manipulators too.  If you make some changes and your happy just post
me the complete changed file and I'll do a review of it.  This is
pretty low priority issue though.

The window resize issue you talk about much high priority issue and
one that it'd be nice to fix for 2.2.  Since I don't have Gnome here I
can't chase after this one so I'd appreciate it if yourself or others
can chase this one done.

Cheers,
Robert.

On 10/3/07, Cedric Pinson <[EMAIL PROTECTED]> wrote:
> I checked the --help-keys option of osgviewer, in fact everything is
> here to work but all EventHandler are created after the
> process of options.
>
> i tested with something like that and it report the keys i know it
> changes the order of created HandlerEvent. But what do you think ?
>
>     // add the window size toggle handler
>     viewer.addEventHandler(new osgViewer::WindowSizeHandler);
>
>     // if user request help write it out to cout.
>     bool helpAll = arguments.read("--help-all");
>     unsigned int helpType = ((helpAll || arguments.read("-h") ||
> arguments.read("--help"))? osg::ApplicationUsage::COMMAND_LINE_OPTION :
> 0 ) |
>                             ((helpAll ||  arguments.read("--help-env"))?
> osg::ApplicationUsage::ENVIRONMENTAL_VARIABLE : 0 ) |
>                             ((helpAll ||
> arguments.read("--help-keys"))?
> osg::ApplicationUsage::KEYBOARD_MOUSE_BINDING : 0 );
>
>     if (helpType)
>     {
>         arguments.getApplicationUsage()->write(std::cout, helpType);
>         osg::ref_ptr<osg::ApplicationUsage> usage = new
> osg::ApplicationUsage;
>         viewer.getUsage(*usage);
>         usage->write(std::cout, helpType);
>         return 1;
>     }
>
>
> Robert Osfield wrote:
> > HI Cederic,
> >
> > Have a look through Septembers archives as there was another thread
> > about problems under that I believe under Gnome.
> >
> > I use KDE myself and everything is working fine so its a window
> > manager issue - i.e. its not supporting how
> > osgViewer::GraphicsWindowX11.cpp is try to to change the window
> > dimensions and decoration.
> >
> > Robert.
> >
> > On 10/3/07, Cedric Pinson <[EMAIL PROTECTED]> wrote:
> >
> >> I use the last version of the svn. from this morning. i use gnome
> >> environnement.
> >> I think the log in my previous are wrong.
> >>
> >> GraphicsContext::getWindowingSystemInterface() 0x8058a90        0xb7eef200
> >> draw() 0x805a450
> >> Screen resolution = 640x480
> >> cull()
> >> cull() got SceneView 0x805abc8
> >> end cull() 0x805a450
> >> draw() got SceneView 0x805abc8
> >> end draw() 0x805a450
> >> draw() 0x805a450
> >> UnmapNotify event recieved
> >> ReparentNotify event recieved
> >> MapNotify
> >> MapNotify x=0 y=0 width=1440, height=900
> >> Expose x=0 y=0 width=1440, height=900
> >> ConfigureNotify x=0 y=0 width=1440, height=900
> >>
> >>
> >> Robert Osfield wrote:
> >>
> >>> Hi Cedric,
> >>>
> >>> Which version of the OSG are you working against?  What window manager
> >>> are you using?
> >>>
> >>> On 10/3/07, Cedric Pinson <[EMAIL PROTECTED]> wrote:
> >>>
> >>>
> >>>> Hi,
> >>>>
> >>>> I have a strange behviour when i ran osgviewer it start in fullscreen
> >>>> mode and when i tried to disable fullscreen to go in window mode with
> >>>> the key F. it does not success to make the switch. I will dig but i
> >>>> would like to know if i am alone or not.
> >>>>
> >>>> and i saw that
> >>>> osgviewer --help-keys
> >>>> Usage: osgviewerd [options] filename ...
> >>>>
> >>>> can someone report the same behaviour ?
> >>>>
> >>>> Cedric
> >>>>
> >>>> --
> >>>> +33 (0) 6 63 20 03 56  Cedric Pinson mailto:[EMAIL PROTECTED] 
> >>>> http://www.plopbyte.net
> >>>>
> >>>>
> >>>> _______________________________________________
> >>>> osg-users mailing list
> >>>> [email protected]
> >>>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> >>>>
> >>>>
> >>>>
> >>> _______________________________________________
> >>> osg-users mailing list
> >>> [email protected]
> >>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> >>>
> >>>
> >> --
> >> +33 (0) 6 63 20 03 56  Cedric Pinson mailto:[EMAIL PROTECTED] 
> >> http://www.plopbyte.net
> >>
> >>
> >> _______________________________________________
> >> osg-users mailing list
> >> [email protected]
> >> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> >>
> >>
> > _______________________________________________
> > osg-users mailing list
> > [email protected]
> > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> >
>
> --
> +33 (0) 6 63 20 03 56  Cedric Pinson mailto:[EMAIL PROTECTED] 
> http://www.plopbyte.net
>
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to