| Summary: | [Regression] Building tqt3 with -glibmainloop causes window settings to be ignored | ||
|---|---|---|---|
| Product: | TDE | Reporter: | Darrell <darrella> |
| Component: | non-core programs | Assignee: | Timothy Pearson <kb9vqf> |
| Status: | RESOLVED FIXED | ||
| Severity: | critical | CC: | bugwatch, darrella, kb9vqf |
| Priority: | P5 | ||
| Version: | R14.0.0 [Trinity] | ||
| Hardware: | Other | ||
| OS: | Linux | ||
| Compiler Version: | TDE Version String: | ||
| Application Version: | Application Name: | ||
| Attachments: |
kpdf valgrind output with tqt3/internalmainloop
kpdf valgrind output with tqt3/gliblmainloop |
||
|
Description
Darrell
2013-05-20 19:40:49 CDT
As far as I can tell, the only affected app I have found thus far is kpdf. Other Trinity apps and GTK apps open according to how I configured them or how I configured the Advanced window settings. Definitely related to -glibmainloop, however. Could easily be undefined behaviour in kpdf that usually* worked without the glib main loop (but was always technically broken). When I get a chance I'll run kpdf through Valgrind and see if anything pops out. * I have noticed this same problem with all KDE 3 and TDE versions, but it was sporadic and only seemed to affect certain machines. I have copies of tqt3 built both ways. I can help test both versions. Right now I have the internal main loop copy running. I'm far from an expert with valgrind, yet when I run valgrind against kpdf I see memory leak error reports. I build tdegraphics using the libpaper option. I don't know whether that plays a role. A note for testing when tqt3 is built with -glibmainloop: I can't always get kpdf to behave as described when I run kpdf from the mini cli, menu, or command line. Sometimes then kpdf opens maximized (as configured) and sometimes in a tiny window. When I open kpdf using a pdf through konqueror (double-click) then I always see kpdf open in a tiny window. I don't know about the alleged memory leaks reported by valgrind (probably needs attention), but I suspect the base problem is not reading or not honoring the kpdfrc [MainWindow] settings. I'll attach two valgrind outputs, one with tqt3 built using the internal main loop and the other with glibmainloop. Created attachment 1285 [details]
kpdf valgrind output with tqt3/internalmainloop
Created attachment 1286 [details]
kpdf valgrind output with tqt3/gliblmainloop
Fixed in GIT hash 2d2661a (tdelibs). Thanks for reporting! kpdf is again behaving normally here. Thanks! :-) |