Opened 10 years ago

Closed 9 years ago

#3751 closed bug (fixed)

Redrawing problems.

Reported by: bga Owned by: stippi
Priority: normal Milestone: R1
Component: User Interface Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

Running Haiku GCC2 hrev30138 now but this has been present since at least a few revisions ago. I am also using the VESA driver as my video card is not supported.

It seems redrawing is broken under some circumstances. I could notice it more evidently in SoundPlay and the Backgrouns Tracker add-on.

Here is an overview of the attached screenshots:

1 - SoundPlayStartup.jpg : SoundPlay just after startup. Notice the buttons that control playback are missing. Also the volume knob. Although it is showing in the screenshot, immediately after startup the progress bar and time information were not showing either. They showed up after their first self-update.

2 - SoundPlayAfterBeingPartiallyObscured.jpg : This shows that the part that was obscured by Tracker's context menu was draw (only the invalidated area).

3 - SoundPlayAfterBeingTotallyObscured.jpg : This is SoundPlay after being fully obscured by a window and then having the Window minimized. Behaviour is exactly the same as in the first screenshot but, in this case, I took the screenshot before the progress bar updated itself.

4 - Backgrounds.jpg : This shows that the position knob is not being correctly invalidated. I just clicked randomly in the color sliders and got this result. I gues sthis is related to the SoundPlay problem.

Attachments (4)

SoundPlayStartup.jpg (22.4 KB) - added by bga 10 years ago.
SoundPlayAfterBeingPartiallyObscured.jpg (24.0 KB) - added by bga 10 years ago.
SoundPlayAfterBeingTotallyObscured.jpg (21.7 KB) - added by bga 10 years ago.
Backgrounds.jpg (50.1 KB) - added by bga 10 years ago.

Download all attachments as: .zip

Change History (23)

Changed 10 years ago by bga

Attachment: SoundPlayStartup.jpg added

Changed 10 years ago by bga

Changed 10 years ago by bga

Attachment: Backgrounds.jpg added

comment:1 Changed 10 years ago by aldeck

Just for the note, the BColorControl issue appears with hrev29962, it might just be a bug in BColorControl with regard to invalidation.

Can you test the soundplay issue around hrev29962, we could then determine if both issues are related, which i doubt (see bellow).

Note a recent drawing bug, #3749 that could be related which appeared after (not sure which rec yet, searching the atm). Character map is visibly broken too here on 30111.

comment:2 Changed 10 years ago by aldeck

Ah, forget what i said about #3749, i just downloaded a prebuilt hrev29227 (just after the new look) and it was already there. (will update the ticket)

comment:3 Changed 10 years ago by bga

Although the BColorControl thing seems to have been fixed, the SoundPlay one still persists. I tried to track it down but could not really find my way through the app_server/interface kit code in the 2 hours I had to look into it. Stippi, any chance you could take a look at this one? I will have a haiku demo next week and SoundPlay is always used during the presentations. I would rather not have to explain that there is a bug that affects it. :)

comment:4 Changed 10 years ago by bga

It looks like if you wait enough, bugs sort themselves alone. I just did a clean Haiku install (I do those every other week) and Soundplay is not showing any redrawing problems whatsoever.

comment:5 Changed 10 years ago by jackburton

So, can we close this one ?

comment:6 Changed 10 years ago by bga

I can not see the problems anymore but I have no idea about what seem to have fixed it.

comment:7 Changed 10 years ago by stippi

I downloaded the SoundPlay package you linked the other day, and I certainly see this bug. But I am currently busy with other things.

comment:8 Changed 10 years ago by bga

Hi Stippi.

No worries. Stefano is looking into it.

comment:9 Changed 10 years ago by bga

Oh, forget it. I mixed up the bugs. :) In any case, as I said, SoundPlay is working again. I just don't know what fixed it. If you can guess it (as it was probably some change you did), this bug can be safelly closed.

comment:10 Changed 10 years ago by koki

FWIW, I am running hrev32110, and I still see this problem with SoundPlay 4.7.3. The program works, but the controls are not displayed.

comment:11 Changed 10 years ago by koki

Don't know if this may provide any hints, but if I drag the SoundPlay window out of the viewable area of the screen and then back, the missing app controls reappear.

comment:12 Changed 10 years ago by bga

This is weird. This is exactly what I was seeing but now, somehow, this is not happening anymore. No idea why.

comment:13 Changed 10 years ago by stippi

I don't mean to sound harsh, but please stop spamming Trac with useless comments. It was already clear from 6 comments ago that this bug is not fixed, including the fact/additional information about the weirdness that it does not happen anymore for Bruno, but does happen to me, for example.

comment:14 Changed 10 years ago by bga

Oh, so just because I took the day to revisit bugs I am interested in I am spamming Track? And, better yet, with useless comments? Not to sound harsh either but, give me a break (yes, *THIS* one is a useless comment, but I felt the need to reply to your unfair observation).

comment:15 Changed 10 years ago by stippi

Bruno, before you are all offended, would you please read all the comments here again? Maybe it becomes clear to you then. I am only talking about the comments from today.

This will be my last reply here, because some people receive a notification for every single ticket change, twice for the once they ever made a comment on or to which they are assigned.

comment:16 in reply to:  13 Changed 10 years ago by koki

Replying to stippi:

I don't mean to sound harsh, but please stop spamming Trac with useless comments. It was already clear from 6 comments ago that this bug is not fixed, including the fact/additional information about the weirdness that it does not happen anymore for Bruno, but does happen to me, for example.

I am sorry, but it wasn't obvious to me, and I did read all the previous comments. Anyway, I was just trying to help here, and I am sure that was the case for BGA too; I wish you could see through that before writing something with that tone. If you asked me, and I say this with all the due respect that you do reserve, this comment of yours was the most spammy and useless of all. ;)

comment:17 Changed 10 years ago by bga

I found out why it seemed to have disappeared for me and the reappeared. The problem only shows up if "Show replicants" is enabled. If it is disabled, the drawing problems go away immediately. So it is somehow related to the replicant view showing or not.

comment:18 Changed 9 years ago by luroh

I cannot repeat any of these problems with hrev39527.

comment:19 Changed 9 years ago by luroh

Resolution: fixed
Status: newclosed

I'll go ahead and close this one, issues 1-3 were solved during 2010 and issue 4 before that.

Note: See TracTickets for help on using tickets.