topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Thursday March 28, 2024, 12:19 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Weird precision (or lack thereof) in time remaining displayed  (Read 11141 times)

Deozaan

  • Charter Member
  • Joined in 2006
  • ***
  • Points: 1
  • Posts: 9,747
    • View Profile
    • Read more about this member.
    • Donate to Member
So, I'm doing my thing, crunching away at Ludum Dare, and I notice my PBOL says this:

PBOL LD46 Weirdly Precise.png

2 days 189 minutes? Not 2 days and 3 hours? Okaayyy then... :tellme:

I give it some serious side-eye but I'm busy working on the game jam, so I snap a screenshot and let it slide for the time being. A while later, I notice it's about 20 minutes away from being a full 24 hours since LD46 began (meaning I should have about 2 days 20 minutes remaining), but now it looks like this:

PBOL LD46 Not Precise.png

Uh... what? :huh:

First of all, why is it telling me I have 189 minutes remaining and not showing hours? Second of all, why, when I'm finally at a point where showing me minutes remaining makes sense, does it totally omit the minutes and just round to 2 days? :-\

PBOL is weird.




But I still like it. :D

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Weird precision (or lack thereof) in time remaining displayed
« Reply #1 on: April 19, 2020, 06:43 PM »
 :-* :P

I have to look into it -- it's been so long since I worked on PBOL.
It sounds like its messing up on the hours display.. Does it *ever* tell you you have X days and Y hours?

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Weird precision (or lack thereof) in time remaining displayed
« Reply #2 on: April 19, 2020, 06:43 PM »
Maybe PBOL is just trying to keep you on your toes and show you new and creative ways to think about the passage of time..

Deozaan

  • Charter Member
  • Joined in 2006
  • ***
  • Points: 1
  • Posts: 9,747
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: Weird precision (or lack thereof) in time remaining displayed
« Reply #3 on: April 20, 2020, 10:45 PM »
Does it *ever* tell you you have X days and Y hours?

Yes. It was showing hours until about 2 days and 4-5 hours remained. I'm not sure exactly when it made the switch. But I noticed it had changed from hours to minutes when it was close to (but higher than) the 3 hours remaining mark.

Here's another weird one I noticed earlier today:

PBOL 3 hours.png

Deozaan

  • Charter Member
  • Joined in 2006
  • ***
  • Points: 1
  • Posts: 9,747
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: Weird precision (or lack thereof) in time remaining displayed
« Reply #4 on: April 21, 2020, 01:47 AM »
I just created a timelapse from the screenshots I took and I see PBOL went from 2 days 4 hours remaining to 2 days 239 minutes remaining. Then it went from 2 days 60 minutes remaining to 2 days remaining.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Weird precision (or lack thereof) in time remaining displayed
« Reply #5 on: April 21, 2020, 04:40 AM »
I'm looking at the code now.. Can you post me a screenshot of your options for the bar that say how many words of detail to show, etc.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Weird precision (or lack thereof) in time remaining displayed
« Reply #6 on: April 21, 2020, 05:11 AM »
Try new version:

Btw you'll find a menu option under help that will write a 2mb file of sample countdown times, to help diagnose if anything still seems weird.

cranioscopical

  • Friend of the Site
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 4,776
    • View Profile
    • Donate to Member
Re: Weird precision (or lack thereof) in time remaining displayed
« Reply #7 on: April 21, 2020, 08:15 AM »
Maybe PBOL is just trying to keep you on your toes and show you new and creative ways to think about the passage of time..
Or, perhaps he's using a second-hand copy.

Deozaan

  • Charter Member
  • Joined in 2006
  • ***
  • Points: 1
  • Posts: 9,747
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: Weird precision (or lack thereof) in time remaining displayed
« Reply #8 on: April 21, 2020, 02:40 PM »
I'm looking at the code now.. Can you post me a screenshot of your options for the bar that say how many words of detail to show, etc.

PBOL - Event Settings.pngWeird precision (or lack thereof) in time remaining displayed

PBOL - Bar Appearance Settings.pngWeird precision (or lack thereof) in time remaining displayed

I haven't tried the new version yet. I'll test it out momentarily.

Deozaan

  • Charter Member
  • Joined in 2006
  • ***
  • Points: 1
  • Posts: 9,747
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: Weird precision (or lack thereof) in time remaining displayed
« Reply #9 on: April 21, 2020, 02:51 PM »
The new version seems to still have the wrong display.

If you scroll down to about line 41,764 in the text file, you'll see some of the strange entries.

Deozaan

  • Charter Member
  • Joined in 2006
  • ***
  • Points: 1
  • Posts: 9,747
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: Weird precision (or lack thereof) in time remaining displayed
« Reply #10 on: April 21, 2020, 04:08 PM »
And another weird one:

PBOL Strange Precision.png

Deozaan

  • Charter Member
  • Joined in 2006
  • ***
  • Points: 1
  • Posts: 9,747
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: Weird precision (or lack thereof) in time remaining displayed
« Reply #11 on: April 21, 2020, 04:19 PM »
Basically, I think it should never show me the next lower unit of measurement while the larger one is greater than 0. So "24 weeks 3 days" is sufficient precision. Or "2 days 3 hours" But if it's 2 days 0 hours 45 minutes, it should just show 2 days 45 minutes.

I also just noticed it is showing "wks" and "hrs" which is how it's configured to display while docked. But it's currently a floating window, which I have configured to spell out the whole words and not abbreviate them. It makes me wonder which other settings aren't working properly. :-\

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Weird precision (or lack thereof) in time remaining displayed
« Reply #12 on: April 21, 2020, 04:27 PM »
Uploaded new version, see if it fixed that.  I also see it was reversing when it used the docked vs undocked option for word abbreviations, hopefully that is fixed too.

Note that it will still do a non-intuitive switch when you get very near the end and only have a single value showing:
Screenshot - 4_21_2020 , 4_22_20 PM.png

That is by design to give you higher precision as you near the final end time.

Deozaan

  • Charter Member
  • Joined in 2006
  • ***
  • Points: 1
  • Posts: 9,747
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: Weird precision (or lack thereof) in time remaining displayed
« Reply #13 on: April 21, 2020, 07:30 PM »
Note that it will still do a non-intuitive switch when you get very near the end and only have a single value showing:

Seems a little weird to me. Personally I think anything over two to possibly as much as three hours (120-180 minutes) is too far into the future to think about in terms of minutes. But I always show at least 2 values in the settings, so I won't be affected by that bit of weirdness. :D

The new version appears to fix the precision issue. Thanks!

While I've got you working on this... how about that third docking option or my alternative "minimal view" suggestion? And it's probably a good idea to update the menu options with the correct links to the homepage and forum section. :Thmbsup:

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Weird precision (or lack thereof) in time remaining displayed
« Reply #14 on: April 22, 2020, 05:45 AM »
Glad to hear it's working.
I'll have a look at your docking idea.

dnm

  • Charter Member
  • Joined in 2005
  • ***
  • default avatar
  • Posts: 25
    • View Profile
    • Donate to Member
Re: Weird precision (or lack thereof) in time remaining displayed
« Reply #15 on: May 20, 2020, 12:24 AM »
Hi Mouser!

Just happened to be tinkering with PBOL recently, noticed some possibly odd behavior, and saw this thread with a new beta version. Tried the 2.07.00 beta, but still seem to be seeing the same thing, which is where the right edge of the bars always seems to extend past the right edge of the window, regardless of size, when I have captions on the left and "Full width bar panels (one per row)" selected for "Sizing". (Also have "Equalize widths" checked). Important to point out that if I switch captions to the right, no problem.

I can't recall exactly, and haven't yet tested (but will), but I don't think from a fresh (portable) install this was happening, I think it's only after I started adjusting appearance settings and trying out other skins. But not 100% sure. Will try with a fresh copy and see what happens.

Captions: Left
pbol-left.PNGWeird precision (or lack thereof) in time remaining displayed

Captions: Right
pbol-right.PNGWeird precision (or lack thereof) in time remaining displayed
« Last Edit: May 20, 2020, 12:34 AM by dnm, Reason: Attaching screenshots »

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Weird precision (or lack thereof) in time remaining displayed
« Reply #16 on: July 12, 2020, 10:35 PM »
See if you can figure out what custom sizing/font option is causing that..

Deozaan

  • Charter Member
  • Joined in 2006
  • ***
  • Points: 1
  • Posts: 9,747
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: Weird precision (or lack thereof) in time remaining displayed
« Reply #17 on: October 03, 2020, 03:06 PM »
I noticed again some weird precision. It seems it rounds values to the nearest whole, so if there's 2 days, 23 hours, and 31+ minutes left, it will display as 2 days 24 hours remaining.

Perhaps it should always round down?

Deozaan

  • Charter Member
  • Joined in 2006
  • ***
  • Points: 1
  • Posts: 9,747
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: Weird precision (or lack thereof) in time remaining displayed
« Reply #18 on: December 05, 2020, 06:10 PM »
More weirdness:

PBOL SIlly Rounding.png

Here are my settings:

PBOL Item Details.pngWeird precision (or lack thereof) in time remaining displayed

PBOL Appearance Bars.pngWeird precision (or lack thereof) in time remaining displayed

Do a search in the WordTest.txt for things that don't make sense, such as "24 hours" or "60 minutes" and you will see plenty of results:
534 matches for "24 hours"
102 matches for "60 minutes"
« Last Edit: December 05, 2020, 06:18 PM by Deozaan »