#9841: Debugger: Avoid flickering when stepping -------------------------------------+---------------------------- Reporter: stippi | Owner: anevilyak Type: bug | Status: reopened Priority: normal | Milestone: R1 Component: Applications/Debugger | Version: R1/Development Resolution: | Keywords: Blocked By: | Blocking: Has a Patch: 1 | Platform: All -------------------------------------+---------------------------- Comment (by anevilyak): Replying to [comment:3 bonefish]: > When the stack trace is set to NULL, how about delaying the operation for a short time (e.g. 0.5 s)? When stepping, in most cases a new stack trace will be set long before the end of the delay. When running or stepping into a syscall that waits, I don't think the small delay will cause any confusion. After digging into the flickering in the VariablesView, and also noticing the same problem affects the step control buttons, a thought: it might make more sense to actually adapt the above a bit, and have it done at the level of the TeamWindow itself, rather than the stack trace view. That way the state of the buttons won't flicker for a short single step, and also the variables view won't flicker due to having its stack frame cleared (which was also a missing step). The only problem then becomes notifying them when we're in the wait state so they can guard against having items clicked/selected during the delay window, but that should be straightforward enough. Seem like a better plan? -- Ticket URL: <http://dev.haiku-os.org/ticket/9841#comment:12> Haiku <http://dev.haiku-os.org> Haiku - the operating system.