[haiku-bugs] [Haiku] #12393: Crash when moving to trash (if renaming under way)

  • From: "ttcoder" <trac@xxxxxxxxxxxx>
  • Date: Fri, 25 Sep 2015 09:52:39 -0000

#12393: Crash when moving to trash (if renaming under way)
----------------------------------+------------------------------
Reporter: ttcoder | Owner: axeld
Type: bug | Status: new
Priority: normal | Milestone: R1
Component: Applications/Tracker | Version: R1/Development
Keywords: | Blocked By:
Blocking: | Has a Patch: 0
Platform: All |
----------------------------------+------------------------------
Not a very prominent/annoying bug, but easily reproducible:

- select e.g. a folder (clicking its icon, not its name)
- click its name
- hit (quickly!) Alt-T to move it to trash

If you've hit Alt-T before the renaming starts (appearance of a BTextView
..etc), it crashes in `BPrivate::BTextWidget::StartEdit()`.

Maybe when the "rename" timer fires, it contains a pointer to the no-
longer-existing widget?

--
Ticket URL: <https://dev.haiku-os.org/ticket/12393>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: