Fixed old problem on ARM builds

Marco Martin notmart at gmail.com
Sat Nov 30 15:01:07 UTC 2013


Or i should probably say work around ;)

so far, on ARM (all of what it was tested on, nexus, archos etc) all the panel 
popups didn't have neither touch nor mouse input working (making as a 
sideeffect impossible to configure wifi access on the nexus)

TL;DR;
so, now a fix is building in kde:stable:ux, new images done after is done 
building should work.

long story:
I found the cause that is probably a Qt bug in QGraphicsView.
So, all popup contents are positioned on the QGraphicsScene at negative 
coordinates and then focus a view on it.

it did increment the negative coordinate by QWIDGETSIZE_MAXxQWIDGETSIZE_MAX 
each time, and apparently after a certain point (*one* popup always worked) 
the scene failed to map correctly the input coordinates (i guess is from ARM 
having long well.. not long enough))

so the workaround is horrible, diminishing the distance to only 2000x2000, but 
makes it work...

luckily plasma2 won't pose this problem at all anymore since each popup has 
its own scene

Cheers,
Marco Martin


More information about the Active mailing list