#10987: [Deskbar] Race condition in team list ------------------------------------+---------------------------- Reporter: diver | Owner: axeld Type: bug | Status: new Priority: normal | Milestone: R1 Component: Applications/Deskbar | Version: R1/Development Resolution: | Keywords: Blocked By: | Blocking: Has a Patch: 0 | Platform: All ------------------------------------+---------------------------- Description changed by diver: Old description: > Limiting to 1 CPU makes this bug easiest to reproduce. > > Steps to reproduce: > > 1) Run the following: > cp /bin/desklink . > > 2) Open it in FileTypes, un-check Background app, save. > > 3) Run the following: > while true ; do ./desklink > /dev/null ; done > > 3) Now open the Deskbar settings window, push "Defaults" button to revert > to default, then check the first 2 check boxes and toggle the second one > (Tracker always first) a few times, you should see the desklink entry > stick in Deskbar. > > It is a bit easier to reproduce by tab focusing the check box and tapping > the space bar repeatedly. New description: hrev47435. Limiting to 1 CPU makes this bug easiest to reproduce. Steps to reproduce: * {{{cp /bin/desklink .}}} * Open it in FileTypes, un-check Background app, save. * {{{while true ; do ./desklink > /dev/null ; done}}} * Now open the Deskbar settings window, push "Defaults" button to revert to default, then check the first 2 check boxes and toggle the second one (Tracker always first) a few times, you should see the desklink entry stick in Deskbar. It is a bit easier to reproduce by tab focusing the check box and tapping the space bar repeatedly. -- -- Ticket URL: <https://dev.haiku-os.org/ticket/10987#comment:1> Haiku <https://dev.haiku-os.org> Haiku - the operating system.