← Back to team overview

hugin-devs team mailing list archive

[Bug 725667] Re: Mosaic overview does not process mouse wheel

 

@Thomas

In the panosphere both left and middle click/drag should rotate the
panosphere. The difference is that for left click/drag it should only
work when the click didn't originate in the panosphere or when ctrl or
alt is held. This is much more noticeable when the zoom level is high
and the panosphere covers the whole view.

As for the mouse wheel thing, maybe in windows it registers the wheel
events only when the glcanvas is in focus. On my linux the wheel events
are registered also when the mouse is only over the glcanvas, i.e. the
glcanvas doesn't need to be in focus. Maybe to solve this problem we can
have the glcanvas get the focus when some click occurs in it.

@Yuv

So currently in the overview there is a following behavior:

whenever the overview window is resized or a zooming operation is
executed, the system needs to recalculate the meshes for the images to
show a nicer meshes. This though only happens when the change reaches a
certain threshold.

This as you explained depending on the processing power of the machine
and the amount of images slows down the process of zooming in/out.

One possible solution would maybe be to reduce the threshold, or
completely disable this behavior on zooming and only enable it for
resizing of the glcanvas.

As for the zooming in or out in the preview, I was looking into that as
another project for the GSOC and I also wrote a proposal for it.

In general so that zooming provides a nice display of the images, both
the meshes and the image textures need to change dynamically. This would
require a lot of work and we could offer it as a GSOC project this year.

If the changing of the meshes and textures is disregarded than it is
easier to do, however there is some issues of how to do it with the
GLCanvas. Probably it will be needed to make the GLCanvas resizable
within the window so that scroll bars appear. I'm not sure how much work
this will require.

-- 
You received this bug notification because you are a member of Hugin
Developers, which is subscribed to Hugin.
https://bugs.launchpad.net/bugs/725667

Title:
  Mosaic overview does not process mouse wheel

Status in Hugin - Panorama Tools GUI:
  New

Bug description:
  The new overview does not process the mouse wheel in the mosaic mode
  (in normal panosphere mode the mouse wheel has no function)

  OS: Windows



References