-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Show rowid column not correctly refreshing the table view #510
Comments
can confirm this with Win 7 SP1 and nightly build 3.8.99 Ralf |
- refresh the table after toggling the Show row id column option
Turns out this isn't quite as fixed as we'd thought. 😦 @karim pointed out in #639 (comment) that the nightly build, which included this fix... still has the issue. Looking at the build log, that shows it using the correct git commit for building from. Which means the code wasn't somehow missed out:
Now... to figure out WTF is going wrong. Initial thought it maybe it's a Qt4/Qt5 thing? I'll try compiling it here on OSX using Qt4 (instead of Qt5, which I used yesterday), and see if it's broken or not. |
I think I'm using Qt4 home, where I solved this. I have no idea why wouldn't it work. And, how comes it worked with another nightly build? |
Yeah, I just tried it here on OSX with Qt4. The bug is fixed with that, so it's definitely not a Qt4/Qt5 problem. Our official nightly Windows builds are statically built, cross compiled on a Linux host using MXE. The one off Windows build I created yesterday for testing the fix, was made using MSVC on Win 8.1, and uses shared libraries. So... yeah... I'm not sure either. ... and I'm not sure what to check next. 😦 |
Wouldn't it be simpler for @karim to test again the latest nightly build today, which is guaranteed (I guess) to include the fix? |
The fix is working with this build http://nightlies.sqlitebrowser.org/win64/sqlitebrowser-win64-issue639v2-201607131125.exe but not with this one http://sqlitebrowser.oldsch00l.com/sqlitebrowser.exe.zip |
Hmmm, I suppose it won't hurt. I was under the impression that the build log for http://sqlitebrowser.oldsch00l.com/sqlitebrowser.exe.zip was showing the fix already included. (but not working) 😉 |
Ahhh, as a data point, the domain name for the nightlies might be giving the wrong impression with this one: http://nightlies.sqlitebrowser.org/win64/sqlitebrowser-win64-issue639v2-201607131125.exe That one's not really a nightly build. It's just a once off I chucked on the server for people to test. Maybe I should rename that |
Yes, I think it's a good idea not to mix nightlies and manual builds. |
k, moved those two into a hopefully-better-named subdirectory instead: |
I tried the latest nightly build just now, and still the same problem. |
On what OS? |
Windows 7 SP1 (64-bit). |
I don't think it is DB4S fault though. It could be a library problem. Cause after I reverted back to official version (3.8.0), show rowid is now working correctly. To make it more clear, I was using the official version (3.8.0) and I had both problems (crashing, and not refreshing rowid). Then I uninstalled it, and installed the one @justinclift made in the the "win64-onceoffs" folder, and it fixed both. He told me to test the nightly build, and this build fixed the crash bug only. Then I uninstalled this "onceoff" version, and went back to the official one (3.8.0) and it is showing rowid correctly now.
|
Hmmm, well that's just weird. 😉 |
True. But to be honest, it could be also something on my PC. Anyway, I'm using the version you made and it is working fine. I will just wait for the next release (3.9.0) and see how it goes. Thanks @justinclift and @revolter for your help. 👍 |
No worries at all, sounds like a decent plan. 😄 |
@zwrmueller, As a safety check, can you test this too with the latest nightly? |
I can confirm Karim: |
Thanks @zwrmueller. 😄 It sounds like the Windows builds will definitely need to be build using Qt5. |
If I select
Show rowid column
, the column headers correctly refreshes to show the newrowid
column, but the columns data retains the old columns count.So, after selecting the option, it looks like this:
After just right click-ing, it correctly refreshed the columns data:
After clicking the option again to disable the option, it looks like this:
And after right click-ing again, it goes back to the correct initial form:
The text was updated successfully, but these errors were encountered: