Forum Settings
Forums
New
Jun 21, 2014 6:57 AM
#1
Offline
Jun 2014
8
I've tried to use the Qt version of the updater and it's not able to raise the "Progress" stat to over 99, thus failing for anime such as Naruto Shippuden. I get the feeling it's to do with the little number-picker function beside it, perhaps limiting the number in that box to never go above 99 for some reason.

Edit: I believe it is line 127 of your QT code on here- https://github.com/z411/wmal-python/commit/aea2583593062b5cf6c883c33cae2d3b5254e5da -which is the culprit because it is set to 100?

+ progress_widget.setMaximum(100)

Just downloaded the QT tools to experiment and learn how to create things later- definitely wanna learn how to make apps like yours for linux :) it's very nice to have utilities such as this wMAL updater for Ubuntu so I'd like to be able to make similar things in the future.
ZefirenJun 21, 2014 7:28 AM
Reply Disabled for Non-Club Members
Jun 21, 2014 1:31 PM
#2

Offline
Jun 2009
35
Oh that was careless of me, sorry. The line you mention is the progress bar in the list that shows the percentage, that's why it's 100.

The problem occurred because I never set the ranges of the number boxes, so Qt defaults to 99 as its maximum. Now when you select a show the proper maximum for that show is set, it should work in the last commit.

Thanks.
Jun 22, 2014 7:25 AM
#3
Offline
Jun 2014
8
Thanks, that fixes it, but for the future- what's the best way to update it to your latest commit? Because I had no idea and just deleted the folder and installed the new one fully again :/
Jun 22, 2014 9:27 AM
#4
Offline
Apr 2012
70
Zefiren said:
Thanks, that fixes it, but for the future- what's the best way to update it to your latest commit? Because I had no idea and just deleted the folder and installed the new one fully again :/


That is, unfortunately, the only way to do it. You don't really need to delete anything, just the old source files, grab the new files, and run the install script again. As z411 said, he will try to provide proper packages (via an Ubuntu PPA, for example) in the future, so you can just update it like the rest of your software, using your package management tool.
Jun 28, 2014 9:39 PM
#5

Offline
Jun 2009
35
If you update often, you can also just run wmal directly from the 'bin' directory (make sure to uninstall first), and issue a 'git pull' inside the directory whenever you want the latest changes.
Jul 20, 2014 8:24 PM
#6

Offline
Sep 2007
62
This issue seems to have mutated, in that the values can randomly shift around in the progress box.

For instance, I've read 162 chapters of Freezing. Initially, it'll appear as 40, or 99, etc. Click on something else and click back, it's 162. Click back and on again, it's now 12. Or 40. Or some other number. It even happens to <100 series: I've read 13 chapters of Touhou Ibarakasen, but when first clicking on it the progress box displayed 11. I'm also noticing it on the anime list, in which case none of the shows in the Watching area are >100 episodes, but still display the problem (although it may be because I have >100 length series in the Completed, On Hold, and Dropped areas, if it turns out that even having one such series in the list causes everything to be thrown off).

And this is only in the progress box, the list itself doesn't have any problem displaying the right number.


Also, the issue I noted on Github regarding certain uxthemes also seems to extend to problems with the percentage box not wanting to display any fill unless it's at 100%. Not sure if fixing the width values would also fix that, though.

I've noticed it occur on Ubuntu and OSX too, so it's not just something I'm seeing happen on Windows.
Jul 22, 2014 7:34 PM
#7

Offline
Jun 2009
35
qyot27, you're right.
I just fixed the issue in the last commit, let me know if it works.
Thanks for the heads up.
Jul 22, 2014 8:11 PM
#8

Offline
Sep 2007
62
Yep, it works now.
Reply Disabled for Non-Club Members

More topics from this board

» Installing Trackma issue

Fredo_p - Jan 21, 2017

1 by Cnon »»
Apr 10, 2017 7:07 AM

» Send posts from trackma

Cnon - Sep 13, 2015

0 by Cnon »»
Sep 13, 2015 7:03 AM

» Tags/Priority and others?

DeadDox - Jul 6, 2015

3 by z411 »»
Sep 5, 2015 8:05 PM

» Installing

mogiwara - Jul 6, 2013

12 by catonwall »»
Apr 6, 2015 4:57 PM

» Few requests

Rethil - May 31, 2014

6 by z411 »»
Jun 18, 2014 4:09 PM
It’s time to ditch the text file.
Keep track of your anime easily by creating your own list.
Sign Up Login