[haiku-3rdparty-dev] Re: Drawing artefact in BSplitView

  • From: Brian Hill <brianh@xxxxxxxxxxxx>
  • To: haiku-3rdparty-dev@xxxxxxxxxxxxx
  • Date: Tue, 29 Nov 2016 09:30:50 -0500

It looks like the darker areas are not being covered by your buttons,
scrollviews and stringviews.  Do you need to set a color on the split
view?

-Brian

-- 
  Brian Hill
  brianh@xxxxxxxxxxxx

On Tue, Nov 29, 2016, at 07:49 AM, Rene Gollent wrote:

On Tue, Nov 29, 2016 at 4:35 AM, Axel Dörfler <axeld@xxxxxxxxxxxxxxxx>
wrote:
No idea, but have you tried to reproduce the issue with another application
using a horizontal split view? Maybe it's just an off-by-one error in the
redraw update.
Maybe it's also related to the right-border resize issue found on several
menu bars.

Just to add a few more observations here, this appears to be deeper
than just a draw problem: I played around with Clipdinger a little
last night trying to analyze this problem. Two things:
1) The artifacting is actually visible in both directions, it just
depends on how quickly/slowly one drags the splitter. More importantly
however:
2) if one drags the splitter far enough to where it collapses, the
listviews aren't correctly hidden. I wasn't able to determine why
though, stepping through the BSplit{View,Layout} code seems to hide
the items correctly. The next step for me would be to try to set up an
analogous situation in a test app using a simple BWindow +
BList,ScrollView without anything extra added on top to see if the
same behavior occurs with a splitter in the absence of any
app-specific extras.

Regards,

Rene


Other related posts: