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
Proof-of-Concept: Display unknown version information in GUI #459
Conversation
I seem to recall we discussed this at some point, but really we want the user to submit the log (at some point I changed this from printf to logMessage so this actually works), or at least have a way to copy-and-paste the data. This way is obviously better than not notifying the user at all, though. |
Yes, we might just point out that there's a log (then again on some systems there is none...). |
I can't remember if this was suggested the last time this was discussed or not, but why not have something similar to above but, for systems that have an API to support it, a notification that the needed information has been copied to the clipboard (and copy it to the clipboard). That way it makes it easier for people to send us the message, rather than hunting down the location of the log file. |
If you want it to the clipboard, please don't do it automatically, let the user have a button for doing so if that's what they want (instead of possibly pushing something they care about from their clipboard). I think this makes the information more visible to the end-user in total, and should thus increase the chance of getting the md5-reports from the users. |
Oh, and that warning doesn't really look good in low-res, would it be possible to break the text differently in lo-res mode? |
I'm not even sure all that text is needed, particularly since the user can't directly copy it off the screen anyway. It could be simplified so that there's no problem with lo-res modes. |
For reference on the last time we discussed this, see this email from Max and the emails that follow: http://sourceforge.net/p/scummvm/mailman/scummvm-devel/thread/65691CCC-3686-4AFF-B578-6B9953AAFEE9%40quendi.de/#msg26507203 We did discuss options such as a "Open Log", "Copy to clipboard" or "Send by email" button, or even a button that automatically fills a form. |
This can (and will) be used to display unknown version information to the user through our GUI. Currently only AvancedDetector is updated to supply this information in case it encounters unknown versions.
We might do that. Currently I just chose the easy way out and used our line wrapping code in Font. As I tried to hint in the subject this was just some quick hack to get some more opinions ;-).
Yes, probably we should do something like having a "open the log" button in case we have a log and/or have this "copy to clipboard" option if that is possible. Otherwise, we might hint the user to watch the log/stderr/whatever. I guess we will need to handle this depending on what is possible on the target platform... |
Yes, 'open the log' button or at least message would be beneficial, otherwise we are forcing users to type in those lengthy md5 which is error-prone. |
This looks good, if we provide a way for users to copy/paste the detection details. One way would be to send the text to the clipboard too, but this is highly platform-dependant. On Windows, there's OpenClipBoard() + SetClipboardData(): Another way would be to open the log file in a text editor systematically. In Windows, there's ShellExecute() / ShellExecuteEx() to open the default system text editor on the log file: |
Any update on this? Is there a cross-platform way to either copy the detection data to the clipboard, or open the log file in a text editor? (also refer to my previous reply) |
Any updates? |
I wanted to push this out for discussion for a long time, so let's do it now :-P. As the title suggests this is a try at showing unknown version information on detection to the user. This will hopefully raise awareness of the users that even though ScummVM might detect a game he still might have an unkown version (and thus that we would like to get a report about it).
The GUI is pretty a simple hack (and should be replaced by a proper scrollable text field, since otherwise it doesn't really fit in lowres mode). The API extensions to detectGames is also really simple and we might think of making this nicer (maybe we add a getLastDetectionError/Information?).
Attached some screenshots so you get a feeling of how it looks like. These show the dialog which will come up when ScummVM's AdvancedDetector detects a game via fallback.
Hires:
Lowres: