View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000282 | FreeCAD | Bug | public | 2011-02-22 14:00 | 2013-12-06 00:45 |
Reporter | unauthenticated | Assigned To | wmayer | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 0.11 | ||||
Summary | 0000282: Window gets smaller on loading files | ||||
Description | I'm currently using the SVN version of the 0.11 branch. There, whenever loading a file, the window gets smaller (the size seems to be quite random though). Please see the attached screencapture video for what it looks like :) OS: Gentoo Linux 32bit Revision: 4109 | ||||
Tags | No tags attached. | ||||
FreeCAD Information | |||||
2011-02-22 14:00
|
|
|
Ugh - thought it would ask me to login ;). So just for the record: I'm the 'unauthenticated' reporter of the issue. |
|
What is your monitor resolution? |
|
1680x1050 |
|
The resolution seems OK. Are there any known OpenGL problems you know of or general graphic driver issues? Do you have the same effect when e.g. loading a Python file? |
|
OpenGL works fine. Until Monday I used freecad-0.9, where this problem did not occur. I'll test loading a python file this evening when I get back to my machine. |
|
Ok ... It does NOT happen with a python file. It also DOES happen with the 0.10-svn version. And it does NOT happen with the 0.9-svn version. |
|
> It does NOT happen with a python file OK, then we can exclude general graphic driver problems. But it can still be an OpenGL issue. In the past we had many and strange error reports about this. > It also DOES happen with the 0.10-svn version Which SVN revision number? > And it does NOT happen with the 0.9-svn version Sometime for version 0.10 we replaced Qt's QWorkspace class with QMdiArea. Good possible that it is related to this and somehow to OpenGL. Did you build the 0.9 and 0.10 versions from source? If yes, which Qt version and which SoQt version do you have? |
|
>> It also DOES happen with the 0.10-svn version > Which SVN revision number? Revision: 4124 > Sometime for version 0.10 we replaced Qt's QWorkspace class with QMdiArea If you can point me to a the revision where things changed, I can try if this is the culprit. > Did you build the 0.9 and 0.10 versions from source? If yes, which Qt version and which SoQt version do you have? Qt: 4.6.3 SoQt: 1.5.0 PyQt4: 4.8.1 |
|
FWIW: The bug also occurs in revision 3050 of the trunk. According to the logs this should be BEFORE switching to QMdiArea. Doing some bisecting now and trying to find the commit that introduced the strange behavior |
|
There is an easy way to switch between QWorkspace and QMdiArea. Just uncomment the line //#define NO_USE_QT_MDI_AREA in src/Gui/MainWindow.h Your Qt and SoQt should be fine. What revision number does the 0.9 version have? So, we can concentrate on between this revision and 3050 what has changed there. |
|
Ok. Uncommenting the line fixed it for the 0.11 version. The bisecting lead to revision 3050 being the culprit -- which seems odd looking at the commit. Will try to redo it -- this time always using a complete fresh repository (last time I did not do a `make clean` in between to have less compile time). The 0.9 revision is the latest :) - just checked out the branch from SVN (last commit: r2863) |
|
> Ok. Uncommenting the line fixed it for the 0.11 version. Then just concentrate on where NO_USE_QT_MDI_AREA is used. so far, it's used in: * MDIView.cpp * MainWindow.cpp * View3DInventor.cpp The latter one might be the most promising to look at. As you can see the ways to add the 3D viewer as child to the MDI window is quite different. Maybe you find a working solution for you. |
|
Is this still an issue? |
|
I am getting this to now, as of a week or two ago, not certain if it was shortly after a new system install, Kubuntu 12.04 32bit, or if it started immediately on new system install. forum topic link http://forum.freecadweb.org/viewtopic.php?f=10&t=2641 I tried uncomment the line //#define NO_USE_QT_MDI_AREA in src/Gui/MainWindow.h It stopped the resizing problem. |
|
Hm indeed it happens with me too now... |
|
Happening to me too in 0.12, Arch Linux, with wmii at 1280x1024. |
|
Now after moving to SoQt 1.6 on Windows I can confirm the behaviour. This happens because the GL render area assumes that it is not embedded into another window and thus does a resize when it gets visible. The behaviour of older SoQt versions must have been different because there this worked normally. |
Date Modified | Username | Field | Change |
---|---|---|---|
2011-02-22 14:00 | unauthenticated | New Issue | |
2011-02-22 14:00 | unauthenticated | File Added: freecad_resizing.ogv | |
2011-02-22 14:02 | necoro | Note Added: 0000629 | |
2011-02-22 22:44 | wmayer | Note Added: 0000631 | |
2011-02-22 22:55 | necoro | Note Added: 0000632 | |
2011-02-23 11:03 | wmayer | Note Added: 0000635 | |
2011-02-23 11:27 | necoro | Note Added: 0000637 | |
2011-02-24 00:02 | necoro | Note Added: 0000638 | |
2011-02-24 09:54 | wmayer | Note Added: 0000640 | |
2011-02-24 23:58 | necoro | Note Added: 0000642 | |
2011-02-25 01:04 | necoro | Note Added: 0000643 | |
2011-02-25 12:16 | wmayer | Note Added: 0000645 | |
2011-02-25 12:33 | necoro | Note Added: 0000646 | |
2011-02-25 12:46 | wmayer | Note Added: 0000647 | |
2011-11-24 01:16 | yorik | Note Added: 0001348 | |
2011-11-24 01:16 | yorik | Status | new => feedback |
2012-06-01 08:52 | jmaustpc | Note Added: 0002105 | |
2012-06-01 08:59 | jmaustpc | Note Edited: 0002105 | |
2012-06-01 11:59 | yorik | Note Added: 0002108 | |
2012-06-24 13:59 | ptolom50 | Note Added: 0002236 | |
2013-05-14 04:08 | wmayer | Relationship added | has duplicate 0001028 |
2013-12-06 00:35 | wmayer | Note Added: 0003925 | |
2013-12-06 00:45 | wmayer | Changeset attached | => FreeCAD Master master c771c2ed |
2013-12-06 00:45 | wmayer | Assigned To | => wmayer |
2013-12-06 00:45 | wmayer | Status | feedback => closed |
2013-12-06 00:45 | wmayer | Resolution | open => fixed |