[vlc-devel] qt4 interface bugs
Rafaël Carré
funman at videolan.org
Sat Aug 25 01:40:05 CEST 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
answering to j-b's mail, here are the infos i could gather:
- - skins2 switching gives the main QProcess to die, so you don't have any
menu anymore...
+ you have to call app->quit(), and delete app after the app.exec()
because the skins2 will call a "dialogs provider" module and launch qt4
intf twice, and hence create 2 QApplication
+ patch: http://people.videolan.org/~funman/skins2-qt4.diff
+
+ BUT when qt4 intf module is unloaded, and reloaded as a dialog
provider, a new QApplication is created from another thread, and qt
spawns a warning, use a menu > CRASH
+
+ idea: do not unload qt4 intf, and when it's called as a dialog
provider, detect the previous qt4 module and return before creating
QApplication
- - Video for Qt4.3, the resizing does not work because of the enforcing of
thread safety in Qt4.3. There is an assert patch on this very mailing
list, but if someone understands it better... :D
That prevent people to see videos in trunk...
+ setMinimumSize removed [21447]
+ to put it back, we could use emit a signal in the thread that wants to
resize the vout, and use a slot in the thread that created the vout
- - Add a QDockWidget on the main interface to put the playlist in it. Now
there is a QProcess problem for the same reason as stated above.
+ the QDockWidget bug is in fact in qt4, that lamely timeout while
executing "gconftool-2" when you have your theme set to cleanlooks
+ i've begun some work, but docking code & playlist window is a bit
complex, so i stopped :(
+ also when the playlist is undocked, to put the QDockWidget back into
the main interface, it has to have enough room available for the playlist
+
+ demo: http://people.videolan.org/~funman/qdock.jpg
+ quick & dirty patch :
http://people.videolan.org/~funman/qt4-qdockwidget.diff
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGz2xUYWCeGMCv8Q8RAlQ8AKDFeeM5ftfgIL51qKxHcFdRdW0dbACg1RVW
b8VhXJfagskSd9l+DfvFyTA=
=VnqH
-----END PGP SIGNATURE-----
More information about the vlc-devel
mailing list