Opened 4 years ago

Last modified 4 years ago

#15792 assigned bug

[Deskbar] mini-mode confused state

Reported by: diver Owned by: jscipione
Priority: normal Milestone: Unscheduled
Component: Applications/Deskbar Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

This is hrev53955.

I resized Deskbar to its maximum and switched to mini-mode.

Attachments (1)

deskbar.png (10.5 KB ) - added by diver 4 years ago.

Download all attachments as: .zip

Change History (9)

by diver, 4 years ago

Attachment: deskbar.png added

comment:1 by jscipione, 4 years ago

You have successfully triggered this known bug. The fix was taken out just before it was submitted because it was complained about. Moving Deskbar around fixes it?

comment:2 by jscipione, 4 years ago

Fix was https://review.haiku-os.org/c/haiku/+/2253/21/src/apps/deskbar/BarView.cpp#583 but was removed... it should be put back in. See discussion in patch set.

in reply to:  2 comment:3 by X512, 4 years ago

Replying to jscipione:

Fix was https://review.haiku-os.org/c/haiku/+/2253/21/src/apps/deskbar/BarView.cpp#583 but was removed... it should be put back in. See discussion in patch set.

fInlineScrollView->MoveTo(100000, -100000); is definitely wrong, some other solution should be used. Also note overlapping deskbar replicant with Tracker button.

comment:4 by jscipione, 4 years ago

I want a solution but Hide() is definitely getting called so I don't know what else to do here.

comment:5 by jscipione, 4 years ago

The overlap is caused by the inline scroll view drawing on top of Deskbar and the replicant re-drawing on top of it. The Tracker icon is a dead giveaway that this is the case. You can also see the resize control on the left side which should also be hidden but is drawing anyway.

comment:6 by X512, 4 years ago

I resized Deskbar to its maximum and switched to mini-mode.

Can't reproduce bug by this steps.

comment:7 by jscipione, 4 years ago

I can't either but I could earlier in development. I was hoping that my mode switching updates had fixed this bug but I have to imagine that diver was able to reproduce the bug somehow. Diver can you give us better steps on how you were able to trigger this bug? I know that you aren't in largest icon setting because I can see the Tracker icon and it's not 96x96.

comment:8 by pulkomandy, 4 years ago

Have you checked that Hide() and Show() calls are balanced? There is a counter so if Show() was called twice, you need to call Hide() twice for it to have any effect. Could that be the case here?

Note: See TracTickets for help on using tickets.