Bug 295278 - QEventLoop goes to sleep even if events are in the queue

Christian Daniel -- maintech GmbH cd at maintech.de
Mon Apr 2 10:07:03 UTC 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi guys,

I have filed bug 295278 (https://bugs.kde.org/show_bug.cgi?id=295278)
a month ago and no reply to that in any form. Since it is (from my
POV) a major problem, I would like to know if any reaction is planned
or if it is considered a side show.

Here is a short summary of the problem: The QEventLoop on Android
sometimes goes to sleep and doesn't wake up when a new event is put
into the queue exactly at the moment of QEventLoop going to sleep. I
haven't figured out why this is happening but the changes in the code
clearly show that someone else also has tried to fix it. Sadly the fix
doesn't work (for my, that is on SGS2 with Gingerbread).

I removed some optimisations and now have a QEventLoop that passes the
Troll supplied testcase in tests/auto/qeventloop whereas the original
version does not pass. So I consider it a valid fix even if it is less
efficient.

I would very much appreciate if a fix (not necesarily mine) would find
its way into the next release.

Best regards,
Christian

- -- 
- ---------------------------------------------------
| maintech #      Dipl. Inf (FH) Christian Daniel |
|   GmbH ### Otto-Hahn-Str. 15 · D-97204 Höchberg |
- ---------------------------------------------------
| AG Würzburg, HRB 8790        Tax-ID DE242279645 |
- ---------------------------------------------------
| http://www.maintech.de           cd at maintech.de |
- ---------------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPeXpBAAoJEHkgzUIsAWrilZMH/jHLQa+rTUardH25CjWC0nRV
H/vDfKMT13Lrmw/0vqDacudYUFD+2nSS99x25Q2jARMHC7QfvCN6Nx1kNkkQtDAd
NONJRSRqlmXIUShypd6Iz2Dzr9MhZp42du8h4gEFIvEDJJcLbLVrYIc6YZvZ6wkn
8TH8+cuCp8rRIzSEZSm4RIzJgbtN9tO14nnAR7i/fD3jeEXBhzwG1VsI2GoddrQg
icpyM5HYsJ2VSVx6n0viQiQjfhAZuoTWZupFKRZpL8oNfibWjovObdFbBwJWw3L+
FtKjPhokB1vDKn++KQwRf9Lk6Grz12vYrdzHGdISgh3cVMrXhe/0RZZwKpjerng=
=OFtA
-----END PGP SIGNATURE-----


More information about the Necessitas-devel mailing list