ArlexBee-871RBO
13th February 2010, 14:57
Greetings,
Today I encountered a problem in my project (using Qt 4.6.0 under Linux), and later I noticed that setting the '-graphicssystem' option to 'raster' was the root cause. I also ran the diagramscene example with 'raster' setting to see if I get similar results because that part of my project is similar to the Qt example diagramscene.
Running diagramscene, if you create two items and connect an arrow from one to the other, and then move one of the items across and over the other, the arrow disappears. Moving the item will not bring the arrow back; you'll have to click on the item that you didn't move originally. This happens if you set the graphicssystem option to 'raster'. Setting it to 'native' works fine and the arrow doesn't disappear forever.
I have a very similar problem in my project. If I click on the item to initiate a line draw, but before connecting it to the next item, only a small portion of the line is drawn. The other end of the line right under the mouse pointer moves as it should, but it's not visible; only the end attached to the item is drawn. Again, this only happens in 'raster' mode, not 'native'.
I don't have to have it set to 'native', but it does appear to be little faster. At first I thought I was doing something wrong, till I tried the diagramscene demo in 'raster' mode. Does anyone know a fix to this problem other than not running in 'raster' mode? And can someone also explain this behavior?
Today I encountered a problem in my project (using Qt 4.6.0 under Linux), and later I noticed that setting the '-graphicssystem' option to 'raster' was the root cause. I also ran the diagramscene example with 'raster' setting to see if I get similar results because that part of my project is similar to the Qt example diagramscene.
Running diagramscene, if you create two items and connect an arrow from one to the other, and then move one of the items across and over the other, the arrow disappears. Moving the item will not bring the arrow back; you'll have to click on the item that you didn't move originally. This happens if you set the graphicssystem option to 'raster'. Setting it to 'native' works fine and the arrow doesn't disappear forever.
I have a very similar problem in my project. If I click on the item to initiate a line draw, but before connecting it to the next item, only a small portion of the line is drawn. The other end of the line right under the mouse pointer moves as it should, but it's not visible; only the end attached to the item is drawn. Again, this only happens in 'raster' mode, not 'native'.
I don't have to have it set to 'native', but it does appear to be little faster. At first I thought I was doing something wrong, till I tried the diagramscene demo in 'raster' mode. Does anyone know a fix to this problem other than not running in 'raster' mode? And can someone also explain this behavior?