View Issue Details

IDProjectCategoryView StatusLast Update
0001517PartDesignBugpublic2014-05-03 22:08
Reportertempr Assigned Towmayer  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
PlatformPCOSWindows 7 UltimateOS VersionSP 1
Product Version0.13 
Summary0001517: Problem with constraint menu not displaying properly if moved (overwrites the background)
DescriptionWhen I moved the constraint menu around it started overwriting the background, check the image in the link below.

It seems like a general menu/UI problem i tested it only on horizontal/vertical constraints, and it only appears when you double-click the constraint in the editor, not if you double-click on it in the Tasks/Constraints section in the combo view, or when the menu appears for the first time when you use the command (idk where else could this bug re-appear)

Picture on this thread (search for this text) "New bug 1:":

http://forum.freecadweb.org/viewtopic.php?f=19&t=6394&start=10
Steps To Reproduce1. Create a new file
2. Create a new sketch
3. Create whatever element you want with random dimensions (line for example)
4. Set a vertical/horizontal constraint on one point
5. Double-click on the constraint in the editor to edit it
6. Try to drag the menu around
Additional InformationMy FreeCAD build info:

OS: Windows 7
Platform: 32-bit
Version: 0.14.3389
Python version: 2.6.2
Qt version: 4.5.2
Coin version: 3.1.0
SoQt version: 1.4.1
OCC version: 6.5.1


I have also tried it on this unofficial build with same results (bug):

OS: Windows 7
Platform: 32-bit
Version: 0.14.3343 (Git)
Branch: libpack
Hash: 8dcb8f68cf17ef152d34d226d7699c98c5bb59fb
Python version: 2.7.6
Qt version: 4.8.5
Coin version: 3.1.3
SoQt version: 1.5.0
OCC version: 6.7.0
TagsNo tags attached.
FreeCAD Information

Activities

normandc

2014-04-26 17:33

manager   ~0004578

Last edited: 2014-04-26 17:35

There is no picture in the linked forum topic.

Attaching it here would be more convenient.

You talk of "moving the constraint menu". This is a confusion of term. You simply cannot move a menu. You can move a toolbar, or a dialog window, but not a menu.

Wikipedia entry on Menu (computing): http://en.wikipedia.org/wiki/Menu_%28computing%29

tempr

2014-04-27 21:16

reporter   ~0004590

My bad, I brainfarted there. IDK the proper term for it though, I was talking about the window for the input of the constraint data. Can you change the report to fix that? I don't think I have the option to edit it (or I am missing it).

Hm, I just opened the topic and it displays for me.
OK, here is a direct link to it:
http://s12.postimg.org/w0z0fiza3/Menu_bug.jpg

wmayer

2014-04-29 12:18

administrator   ~0004595

I cannot confirm this issue. Maybe it's graphic card/driver related. Anyway, the point is that when you open the dialog then the 3d view in the background won't get any paint events.

But it's weird that you get different results when double-clicking the task panel item or the element inside the 3d view.

tempr

2014-05-03 14:18

reporter   ~0004605

Last edited: 2014-05-03 14:21

"Anyway, the point is that when you open the dialog then the 3d view in the background won't get any paint events."

Yes and the dialog overwrites the background, it all clears when I exit the dialog though so I would rate this as a cosmetic bug.

"But it's weird that you get different results when double-clicking the task panel item or the element inside the 3d view."

That is why I still rate it as a bug (FreeCADs or of some library used in FreeCAD). I dismissed it as a driver/GFX card issue because I never had similar problems with any other program I use and because appearance of the problem is, as mentioned, quite selective.

Maybe it got fixed in the version you use? Can you try it with an older version (or on another OS)?

wmayer

2014-05-03 17:31

administrator   ~0004620

I have checked several older versions and with none of them I have any issues. I also doubt that it's the fault of FreeCAD code because we don't do anything special there but 3rd party libs may do.

The involved libs are mainly Qt and Coin3d and maybe in combination with your driver it shows this effect. This may explain why other applications don't show this effect (given that they are not using Qt and/or Coin3d).

Btw, my system here is also Win7.

wmayer

2014-05-03 17:42

administrator   ~0004621

I have an old WinXP in a virtual box and there I get exactly the same behaviour as you've described.

Related Changesets

FreeCAD: master cb720fae

2014-05-03 23:39:04

wmayer

Details Diff
+ fixes 0001517: Problem with constraint menu not displaying properly if moved (overwrites the background) Affected Issues
0001517
mod - src/Mod/Sketcher/Gui/EditDatumDialog.cpp Diff File
mod - src/Mod/Sketcher/Gui/EditDatumDialog.h Diff File
mod - src/Mod/Sketcher/Gui/ViewProviderSketch.cpp Diff File

Issue History

Date Modified Username Field Change
2014-04-26 16:37 tempr New Issue
2014-04-26 17:33 normandc Note Added: 0004578
2014-04-26 17:35 normandc Note Edited: 0004578
2014-04-27 21:16 tempr Note Added: 0004590
2014-04-29 12:18 wmayer Note Added: 0004595
2014-05-03 14:18 tempr Note Added: 0004605
2014-05-03 14:21 tempr Note Edited: 0004605
2014-05-03 17:31 wmayer Note Added: 0004620
2014-05-03 17:42 wmayer Note Added: 0004621
2014-05-03 22:08 wmayer Changeset attached => FreeCAD Master master cb720fae
2014-05-03 22:08 wmayer Assigned To => wmayer
2014-05-03 22:08 wmayer Status new => closed
2014-05-03 22:08 wmayer Resolution open => fixed