Bug 50441 - Viewports wont grab mouse
Summary: Viewports wont grab mouse
Status: RESOLVED WORKSFORME
Alias: None
Product: kpovmodeler
Classification: Unmaintained
Component: general (show other bugs)
Version: 1.0
Platform: Unlisted Binaries Linux
: NOR normal
Target Milestone: ---
Assignee: Andreas Zehender
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-11-09 01:22 UTC by David Wilde
Modified: 2002-11-12 08:47 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Wilde 2002-11-09 01:22:56 UTC
Version:           1.0 (using KDE 3.0.9)
Compiler:          gcc version 3.2
OS:          Linux (i686) release 2.4.19-gentoo-r9

I cant use the mouse to modify objects in any of the viewports, the mouse works fine for the rest of the application and in KDE.  Running Gentoo 1.4, KDE 3.1 RC2, USB Mouse using the HID driver, and the nVidia kernel drivers.
Comment 1 Andreas Zehender 2002-11-09 12:28:14 UTC
Subject: Re:  New: Viewports wont grab mouse

Hi!

What qt version do you use?

Does the control point selection work?
Do the cursor and the status bar change when the mouse is over a control 
point?


Comment 2 David Wilde 2002-11-11 17:30:28 UTC
Subject: Re:  Viewports wont grab mouse

Hello,

Sorry for the delay, I was away from a computer all weekend :)  I am using 
qt-3.1.0_pre20021104.  The cursor and status bar do not change when the mouse 
is over a control point.  If I right click in one of the viewports and select 
Translate Views or Scale Views the mouse cursor changes and I can scale or 
translate the view.  Let me know if you need any more information.

Thanks,

Dave W

On Saturday 09 November 2002 03:28 am, you wrote:
> ------- You are receiving this mail because: -------
> You reported the bug, or are watching the reporter.
>
> http://bugs.kde.org/show_bug.cgi?id=50441
>
>
>
>
> ------- Additional Comments From zehender@kde.org  2002-11-09 12:28 -------
> Subject: Re:  New: Viewports wont grab mouse
>
> Hi!
>
> What qt version do you use?
>
> Does the control point selection work?
> Do the cursor and the status bar change when the mouse is over a control
> point?

Comment 3 Andreas Zehender 2002-11-11 18:59:19 UTC
Subject: Re:  Viewports wont grab mouse

An object that has a transformation as child that is not invertable (like a 
scale <1,0,1>) can't be modified with the control points. Could this be the 
reason or are you not able to change _any_ objects with the control points?


Comment 4 David Wilde 2002-11-11 19:46:10 UTC
Subject: Re:  Viewports wont grab mouse

I dont think so.  For instance, if I create a blank scene and create a sphere 
from the toolbar, I get a sphere with three children if I highlight one of 
the children I do not see any control points on the sphere, but if I 
highlight the sphere in the hierarchy I see three control points, one on the 
X, Y, and Z axis, when I manuver the mouse over any of these points nothing 
happens.  I can right click on the spere and select one of the control points 
from the menu, but I still cannot manipulate that with the mouse.  To me this 
does not seem like the correct behavior.  Thanks,

Dave W.

On Monday 11 November 2002 09:59 am, you wrote:
> ------- You are receiving this mail because: -------
> You reported the bug, or are watching the reporter.
>
> http://bugs.kde.org/show_bug.cgi?id=50441
>
>
>
>
> ------- Additional Comments From zehender@kde.org  2002-11-11 18:59 -------
> Subject: Re:  Viewports wont grab mouse
>
> An object that has a transformation as child that is not invertable (like a
> scale <1,0,1>) can't be modified with the control points. Could this be the
> reason or are you not able to change _any_ objects with the control points?

Comment 5 Andreas Zehender 2002-11-11 20:10:49 UTC
Subject: Re:  Viewports wont grab mouse

1) Do transformations work? Select the translation child and try to move the 
object around.

2) Remove all transformations select the sphere and try to drag the control 
points.

Thanks for your help

Comment 6 David Wilde 2002-11-11 20:15:09 UTC
Subject: Re:  Viewports wont grab mouse

1) No

2) No

No problem, thanks for yours :)

Dave

On Monday 11 November 2002 11:10 am, you wrote:
> ------- You are receiving this mail because: -------
> You reported the bug, or are watching the reporter.
>
> http://bugs.kde.org/show_bug.cgi?id=50441
>
>
>
>
> ------- Additional Comments From zehender@kde.org  2002-11-11 20:10 -------
> Subject: Re:  Viewports wont grab mouse
>
> 1) Do transformations work? Select the translation child and try to move
> the object around.
>
> 2) Remove all transformations select the sphere and try to drag the control
> points.
>
> Thanks for your help

Comment 7 Andreas Zehender 2002-11-12 08:44:45 UTC
Subject: Debug session summary

For the bug system a summary of our debug session

- The control points can't be modified because the inverse matrix of the view 
transformation can't be build
- PMMatrix::canBuildInverse( ) returns allways false
- PMMatrix::det( ) returns allways 0
- In PMMatrix::notNullElementRow (which should find the row with the greatest 
value in a column)
- The fabs( ) call in PMMatrix::notNullElementRow returns allways 0
- We removed the fabs call. The determinat was calculated correctly, but the 
fabs call in PMMatrix::canBuildInverse( ) (inside approxZero( )) failed and 
returned 0

Summary: Something with the fabs function is bugged.

A small sample program returned the correct fabs result. Maybe more than one 
library contains this function and another one is used in the sample program.

I will change the status to WorksForMe

Comment 8 Andreas Zehender 2002-11-12 08:47:14 UTC
See my last comment.
No KPovModeler bug