[haiku-development] Re: xicon and executable scripts

  • From: donn@xxxxxxxxxxx
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Sun, 3 May 2009 21:26:56 -0700 (PDT)

Quoth pete.goodeve@xxxxxxxxxxxx,
...
> Close the folder window and re-open it, because the Tracker only seems
> to update such things when the window is first opened.

Ah, I missed that.  So, looking at src/kits/app/Roster.cpp, I guess
we might be talking about the sequence of tests in _TranslateRef(),
with working hypothesis that the preferred app test for the node
should be first, before the execute bit test.  (Preferred app for
node only - continue to fall back to general file type preferred app
after checking execute bit, as currently.)

I just mention that by way of confirmation that your observed results
match the code, and the code doesn't suggest (to me anyway) a way to
work around the problem.  You ought to file a bug report, I'd say.

        Donn


Other related posts: