Opened 10 years ago

Last modified 5 years ago

#4702 new bug

[Workspaces] Draw issues with multiple replicants.

Reported by: mpanasyuk Owned by: stippi
Priority: normal Milestone: R1
Component: Applications/Workspaces Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

How to reproduce:

1) Open Workspaces. 2) Create two replicants on Desktop. 3) Delete the first created replicant.

The Desktop area it was located at now redraws incorrectly (deleted replicant is still drawn, moving any object like window over this area will cause visual artifacts).

Close the second replicant and this visual anomaly dissapears (area will be redrawn correctly next time you'll move a window or something over it).

Case #2:

1) Open Workspaces. 2) Create one replicant on Desktop. 3) Close Workspaces. 4) Clone replicant (create yet another from the first one).

Close the first replicant. The area it was located at still not redrawn (replicant still visible) but will be redrawn correctly next time you'll move a window or something over it.

Haiku R1/alpha1 (Revision 32975)

Attachments (1)

6e6707714e348ba5e9397f5ab82b041644e95cb1.patch (5.1 KB ) - added by waddlesplash 5 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 by mpanasyuk, 10 years ago

Component: - GeneralApplications/Workspaces
Owner: changed from nobody to axeld

comment:2 by axeld, 10 years ago

Owner: changed from axeld to stippi
Version: R1/pre-alpha1R1/Development

I just talked with Stippi, and his assumption was right: the cause for this is indeed the way Workspaces disables the drawing region of its B_DRAW_ON_CHILDREN parent. When this is disabled, everything works fine, but Workspaces starts to flicker.

This should be fixed on the app_server, and the hack in Workspaces removed. Assigning to stippi as he probably knows best how to fix the flickering.

comment:3 by waddlesplash, 5 years ago

Has a Patch: set

comment:4 by waddlesplash, 5 years ago

Has a Patch: unset

comment:5 by waddlesplash, 5 years ago

Never mind, that doesn't actually work. Workspaces still flickers if you force it to update too often... I'll have to find a different solution.

Note: See TracTickets for help on using tickets.