October 23, 2020, 09:08:39 AM

See more Support incidents in our old archived forum.

Author Topic: FGWorkingHoursBar with TasksDontStartAndEndInNonWorkingTime="True"  (Read 2792 times)

michael.fried

  • Customers
  • Newbie
  • *
  • Posts: 23
Dear RadiantQ support team,

I'm facing an issue with bar rendering when using the example project FGTemplatizedForWorkingHours4.5 and setting the following property

<view:FGWorkingHoursBar ...
TasksDontStartAndEndInNonWorkingTime="True">

The non working times and end times are not rendered correctly for some bars (shifted or cut off).

Is it possible at all to use view:FGWorkingHoursBar together with TasksDontStartAndEndInNonWorkingTime="True"?

Kind regards,
Michael

ForumAdmin

  • Administrator
  • Jr. Member
  • *****
  • Posts: 89
Re: FGWorkingHoursBar with TasksDontStartAndEndInNonWorkingTime="True"
« Reply #1 on: October 13, 2014, 07:15:59 PM »
Michael,

This does in fact seem to be an issue in our Source. We will probably get rid of this property TasksDontStartAndEndInNonWorkingTime as we will have to render the bars similarly for both the cases.

So, you can simply set this to false for now to workaround this issue.

Thanks
Support

michael.fried

  • Customers
  • Newbie
  • *
  • Posts: 23
Re: FGWorkingHoursBar with TasksDontStartAndEndInNonWorkingTime="True"
« Reply #2 on: October 14, 2014, 07:49:34 AM »
Thanks for the quick answer.

So, just for clairification, this means that my options are either not using FGWorkingHoursBar (since the property TasksDontStartAndEndInNonWorkingTime works for "regular bars") or performing a manual check to disable bars from being started and ended within non working hours? If you get rid of the property, do you plan on making the TasksDontStartAndEndInNonWorkingTime="True" or "False" standard behaviour for FGWorkingHoursBar.

Kind Regards,
Michael

ForumAdmin

  • Administrator
  • Jr. Member
  • *****
  • Posts: 89
Re: FGWorkingHoursBar with TasksDontStartAndEndInNonWorkingTime="True"
« Reply #3 on: October 14, 2014, 03:19:59 PM »
Michael,

No, you should continue to use the FGWorkingHoursBar to highlight/differentiate the working-hours from non-working hours.

So, once we get rid of the bars we will render both the scenarios (whether or not the tasks start in non-working time or not) the same way - and this would be similar to how we render now with TasksDontStartAndEndInNonWorkingTime = false. The current "true" setting is not only buggy, but was also unnecessary, so we will remove it.

Thanks
RadiantQ Support