With the latest version i have the same problem with the "wrong" searching.
When i search for a wrong word (or if the video name is not availible for any reason) the popup error will not be showed as it should and it still hidden in background
Therefore, it works only for me and Alfkill... Alfkill, do you think that it could be because you sent me an updated LibQtCore.so at the beginning of 2014 to solve some process manager problem (if I remember well) ? (libQtCore 5401140 bytes 01/01/14 22h03)
@all Thank you for the tests,
With the following debug version, could you make 2 tests
1) start SMTube from Workbench
When started from Workbench by double-click or "WBRun SMTube", you should have in a debug console
"SMTube started from Workbench with 0 argument."
and the 3 tabs availables
2) start it from CLI
When started from CLI, you should have in the Shell
"SMTube started from CLI with 1 arguments. First arg is appdir:smtube" (appdir:smtube or something else)
What is strange is that I just retried an very old version and it fails too. I'm certain that when you noticed me this problem months ago, it worked for me (i even sent you a screenshot if i remember well)
Edit : but for the moment, I'm more interested by SMTube tabs problem tests...
@zzd10h I get this output when i doubleclick on the SMTube icon "SMTube started from CLI with 1 argument(s). First arg is" Music and Sport doesn`t work here
@Samir : Not related to libQtCore because for me too, on my setup, it fails.
I find what was failing, it's because the error string is too small.
If I replace QMessageBox::warning(this, tr("Error"), error); by QMessageBox::warning(this, tr("Error"),error + " " ) ;
it works (notices the more than 50 space character after "error + "
If I replace "error" by a constant string, it's the same, this QMessageBox want a string that is at least more than xx characters (too lazy to count)
I'm not a programmer, therefore don't be surprised by the following explanation... "I don't understand why it doesn't work here because QMessageBox works very well on CutePiano (OS4 Qt too)
QMessageBox::information( this, tr("About CutePiano"), tr("SImple piano keyboard build with Qt.")); "
I will not release this dirty "fix". But as, except you, TommySammy and Pseudaxos (on AmigaNG) reply to my "ask for test" request, it will not be a loss for os4 community if i stop smtube port.
See on smplayer forum, it's easy job (really, without joking thanks to alfkill work)
Not related to libQtCore because for me too, on my setup, it fails.
Ok so no problem on that
Quote:
I find what was failing, it's because the error string is too small.
If I replace QMessageBox::warning(this, tr("Error"), error); by QMessageBox::warning(this, tr("Error"),error + " " ) ;
it works (notices the more than 50 space character after "error + "
If I replace "error" by a constant string, it's the same, this QMessageBox want a string that is at least more than xx characters (too lazy to count)
I'm not a programmer, therefore don't be surprised by the following explanation... "I don't understand why it doesn't work here because QMessageBox works very well on CutePiano (OS4 Qt too)
Ok tested, yes it works better now, but unfortunely the problem isn't completely fixed, i can replicate the same issue if i retype a wrong "tem" after a first correct "error message" ..
But sometimes even at the first time!
At this point i suspect it might be an SMTube bug, i think we should report it to the author.
I have also another unrelated issue but eventually for later, sometimes SMTUbe freeze the entire system when i change on the fly the "type of video" in prefs .. it doesn't happen always but it's a bit annoying
Aniway a quick fix for the error message could be to just replace the current Qt error and replace it with a simple shell output (like the previews debug binary you link to us), but of course without all the debug output you add into it
Quote:
I will not release this dirty "fix". But as, except you, TommySammy and Pseudaxos (on AmigaNG) reply to my "ask for test" request, it will not be a loss for os4 community if i stop smtube port.
Naa why ? I know, if you leave it, then no one will recompile it