[haiku-bugs] Re: [Haiku] #11977: Cause SoundRecorder to remember last-saved location (easy)

  • From: "ttcoder" <trac@xxxxxxxxxxxx>
  • Date: Sun, 09 Aug 2015 08:35:05 -0000

#11977: Cause SoundRecorder to remember last-saved location (easy)
------------------------------------------+----------------------------
Reporter: dsuden | Owner: waddlesplash
Type: enhancement | Status: assigned
Priority: low | Milestone: Unscheduled
Component: Applications/SoundRecorder | Version: R1/Development
Resolution: | Keywords:
Blocked By: | Blocking:
Has a Patch: 1 | Platform: All
------------------------------------------+----------------------------

Comment (by ttcoder):

I ought to give dsuden feedback on this as well, since I blindly
encouraged him to "ping" this ticket some time back... The problem is not
what everybody expected, indeed.. This should be turned from "enhancement"
to "bug", and the "easy" tag removed possibly too..

Reviewed the code in RecorderWindow.cpp and indeed it does everything as
it should to remember its state! Same I do in my apps, same as StyledEdit
does and others. Yet (just tried to be sure) StyledEdit does remember the
last state of the file panel, but SR does not. The only 'extras' that SR
calls between panel invokations are SetMessage and

[http://code.metager.de/source/xref/haiku/src/kits/tracker/FilePanelPriv.cpp#1164
SetSaveText], neither of which change the working directory. Weird.

Is the working directory the only thing that is "forgotten", or does the
panel ''also'' forget its size and position, if you change it between
invokations?

Anyway seems this is definitely a bug hunt, not an enhancement. Somebody
will need to do the dirty work of tracing/debugging *g*

--
Ticket URL: <https://dev.haiku-os.org/ticket/11977#comment:14>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: