Join GitHub today
"determining row count" displays forever in Browse Data tab #1654
Noticed a weird edge case just now, while trying out the latest nightly build (2018-12-09) on macOS.
After opening a database that has no tables in it yet (eg very empty database), the Browse Data tab permanently shows the string "determining row count" for the # of rows:
We'll probably need need to write some kind of catch that recognises when there's no table for display in the Browse Data tab.
added a commit
Dec 9, 2018
Thanks. I'm upgrading the version of macOS on our build mac at the moment (mostly waiting for downloads to finish). Will generate the various nightly builds after that's done.
Can't really put it off either (doh!) , as it turns out the version of macOS (El Capitan) we're running is too old now. Homebrew, which we rely on for our development bits, no longer works on it (as of today). So, upgrade day.
Just had a chance to try this out, but immediately found a (very minor) bug.
Now (running latest master code), if I'm on the Browse Data tab with the empty tab, the row count is correctly shown as "0 - 0 of 0":
While still in the Browse Data tab, if I then open a different database (with data in it), the drop down showing the table name is correctly updated. But the widget showing the table contents doesn't get populated:
Pressing the Refresh button gets the data to display though:
It's probably just some event either not firing, or not being listened to.
Looks like the "determining row count" bug can still be triggered by this too.
If I'm viewing a table with data in it:
... but then load the empty database while I'm still in the Browse Data tab, the "determining row count" line is shown (forever) again.