Bug 4291 - Qt4 widgets have corrupted bitmap images from random(?) areas of memory
Summary: Qt4 widgets have corrupted bitmap images from random(?) areas of memory
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Matteo Pasotti
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-26 21:05 CET by Richard Walker
Modified: 2012-02-07 03:18 CET (History)
1 user (show)

See Also:
Source RPM: qasmixer-0.15-1.mga2.src.rpm
CVE:
Status comment:


Attachments
control sliders and radio buttons are corrupt (33.20 KB, image/png)
2012-01-26 21:07 CET, Richard Walker
Details
pic shows most sliders are OK and 1 radio button after resize (33.96 KB, image/png)
2012-01-26 21:11 CET, Richard Walker
Details
Surreal, beautiful perhaps; but wrong (54.07 KB, image/png)
2012-01-30 00:35 CET, Richard Walker
Details

Description Richard Walker 2012-01-26 21:05:21 CET
Description of problem:
qasmixer now (since Monday or Tuesday I think) displays with corrupted images for most gui features; sliders, radio buttons and perhaps others

Version-Release number of selected component (if applicable):
Mageia supplies qasmixer 0.15-1.mga2. I have also compiled 0.17 of qastools with the same results. Resizing the mixer window causes the corrupted image parts to change and it is sometimes possible to get correct images for, for example, the slider controls.

I suspect the cause of the problem may lie in the recently updated Qt4 components, and not in qasmixer itself, but I cannot find a similar issue with any other application currently installed on this computer.

How reproducible:
permanent feature

Steps to Reproduce:
1.Just fire up qasmixer
2.view the mixer controls
3.If they look ok then try resizing the window or moving a control

See attached images for examples (using qasmixer 0.17 as it is currently installed - but it looks just like the problem with qasmixer 0.15). If I cannot attach them I can supply them by email - 2 x png @ 32kB each.
Comment 1 Richard Walker 2012-01-26 21:07:49 CET
Created attachment 1438 [details]
control sliders and radio buttons are corrupt
Comment 2 Richard Walker 2012-01-26 21:11:05 CET
Created attachment 1439 [details]
pic shows most sliders are OK and 1 radio button after resize

Two attached pictures illustrate what I mean by "corrupt images".
When resized to very large, the corruption in the qasmixer control images looks like some of it is text images.
Comment 3 John Balcaen 2012-01-27 00:31:21 CET
Maybe we should obsolete it by http://sourceforge.net/projects/qastools/ as mentionned on the www ?

CC: (none) => balcaen.john

Comment 4 Richard Walker 2012-01-27 01:08:22 CET
I'm not sure what you mean. If you mean it should be updated to the current version 0.17 then would agree that would be nice. As the pics above show, however, that will do little to address the corrupt graphics problem.

I suspect that as the Qt4 libraries have been updated at least once since I installed qasmixer 0.15 that it is more likely the real problem lies there.
Comment 5 Richard Walker 2012-01-30 00:33:42 CET
This is quite stunning. Just tried qasmixer after a shed-load of updates tonight and I got this (see attached pic) It is almost beautiful, Whatever is causing it, can we keep it as an option?
Comment 6 Richard Walker 2012-01-30 00:35:00 CET
Created attachment 1460 [details]
Surreal, beautiful perhaps; but wrong
Comment 7 Richard Walker 2012-02-04 20:38:58 CET
I have had brief access to a Mageia 2 Alpha 3 system cloned from my working system at a time when the QasMixer display was normal. 

From a very cursory look at the libraries used by this mixer program, the only ones which are obviously related to the drawing of the interface are lib64qtgui4 and lib64qtsvg4. My gut feeling is that it is more likely to be the svg than the gui lib which has introduced the problem.

The working version is using Qt 4.7.?? and the artistically advanced, though functionally flawed version is using Qt 4.8.0.

Any ideas on how to proceed with this?
Comment 8 Richard Walker 2012-02-04 20:41:19 CET
Any comment at all would be appreciated, even if it just to shut up and live with it.
Comment 9 Richard Walker 2012-02-05 04:22:28 CET
Updates tonight from Qt 4.8.0-1mga2 to Qt 4.8.0-2mga2 for all (except lib64qtruby4shared2 for some reason) but no improvement in the svg rendering.
Comment 10 Richard Walker 2012-02-05 15:03:48 CET
That last comment may have been a little hasty. There has been a change in the way that the rendering problems appear when re-sizing the QasMixer screen. It is much easier to find a size for which the rendering of the controls is acceptable, though this tends to be the case with larger sizes. Radio buttons may still appear scrambled, but control tracks are less likely to disappear when mousing over them.
Comment 11 Richard Walker 2012-02-05 18:00:18 CET
After several hours of the system being idle while I watched some rugby and washed the car, the QasMixer display behaviour is back to what it was; more often corrupt than not, whatever the size of the display.
Comment 12 Richard Walker 2012-02-06 20:52:33 CET
Just found this on the QasTools site;

Latest news 2012-01-30
QasTools 0.17.1 released 

 Changes: 
Painting fixed for Qt 4.8

I have just built it on the latest up-to-date Cauldron and it fixes the problem.

If QasTools 0.17.1 is packaged for Cauldron instead of QasMixer 0.15, that should do it, I think.
Comment 13 Manuel Hiebel 2012-02-06 21:02:59 CET
(In reply to comment #12)
> Just found this on the QasTools site;
> 
> Latest news 2012-01-30
> QasTools 0.17.1 released 
> 
>  Changes: 
> Painting fixed for Qt 4.8
> 
> I have just built it on the latest up-to-date Cauldron and it fixes the
> problem.
> 
> If QasTools 0.17.1 is packaged for Cauldron instead of QasMixer 0.15, that
> should do it, I think.

added the maintainer. Thanks for the debugging :)

Assignee: bugsquad => pasotti.matteo

Comment 14 Richard Walker 2012-02-06 22:23:13 CET
Thank you for that. Look forward to the new package. I will presume it is fixed now.

Status: NEW => RESOLVED
Resolution: (none) => FIXED

Comment 15 Matteo Pasotti 2012-02-06 23:49:56 CET
I'm working on the new package (qastools).
If needed, I can inform you about the progress using this bug report.

Regards

Status: RESOLVED => REOPENED
Resolution: FIXED => (none)

Comment 16 Matteo Pasotti 2012-02-07 01:34:46 CET
qastools 0.17.1 it's now into our repositories (it provides qasmixer, qashctl and qasconfig).

Marking this bug as fixed.

Regards.

Status: REOPENED => RESOLVED
Resolution: (none) => FIXED

Comment 17 Richard Walker 2012-02-07 03:18:59 CET
I'm very impressed at the turnaround time - well done and thank you

Note You need to log in before you can comment on or make changes to this bug.