[haiku-3rdparty-dev] Re: BView::_InitData(): resizing mode or flags swapped [...]

  • From: Rene Gollent <anevilyak@xxxxxxxxx>
  • To: "haiku-3rdparty-dev@xxxxxxxxxxxxx" <haiku-3rdparty-dev@xxxxxxxxxxxxx>
  • Date: Mon, 18 Dec 2017 10:26:37 -0500

On Mon, Dec 18, 2017 at 10:21 AM, Humdinger <dmarc-noreply@xxxxxxxxxxxxx> wrote:

I still fail to see it. The order seems as expected:
BRect frame, const char* name, uint32 resizingMode, uint32 flags

FWIW, this warning will be triggered if either the resizing mode or
the flags contain bits that aren't valid for their respective purpose:

http://cgit.haiku-os.org/haiku/tree/src/kits/interface/View.cpp#n5585

As far as why it only happens with user add-ons disabled, about the
only explanation that would make sense is that this particular view
only gets created in the absence of some other add-on (i.e. if the app
is itself using add-ons in some way), since disable user-addons has no
other effect on the system other than what add-on search paths are
used. Can't give a better answer than that since I know nothing about
the app in question.

Regards,

Rene

Other related posts: