10 Commits

Author SHA1 Message Date
Bastien Bouclet
c5b92bcb2e GUI: Better integration for the unknown game dialog when adding games
* The list of candidates now includes unknown variants. When an unknown
variant is selected, the unknown game dialog is shown.
* On the unknown game dialog, users are given the choice to add the game
when that is possible, or to cancel.

The goal of those changes is to make the unknown game dialog less
confusing for users, especially when both known and unknown games
variants are found.
2019-05-12 11:44:51 +03:00
D G Turner
ae7acf1099 GUI: Fix Compiler Warning in Unknown Game Dialog
This is a signed vs. unsigned comparison warning from GCC.
2019-05-03 00:43:03 +01:00
Thierry Crozat
e4218e2e1d GUI: Do not abuse the engine name query item to provide a summary
The redirect rule on the web site expected only two query items, one
with the engine name and another one with the description. However it
was a bit lax in its regex and we could pass additional query items
as part of either the engine name or description. The unknown game
dialog was abusing it to pass a summary.

The rewrite rule for the URL on the web site has now been fixed to
avoid such abuse. And instead it also adds a summary. So the
unknown name dialog should no longer provide one.
2019-04-29 22:50:53 +01:00
Lothar Serra Mari
08a5feb1ee GUI: Add "Summary" to bug reports generated by the unknown game dialog 2019-04-29 21:10:12 +02:00
Thierry Crozat
623bef19a5 GUI: Enable report button in unknown game dialog 2019-04-28 23:30:17 +01:00
Thierry Crozat
74577f9892 GUI: Update code to access the bug tracker in the unknown game dialog
The code is still disabled, but it is now in a working state and
can be tested by removing the #if 0 and changing the URL to a test
server with a redirect rule.
2019-04-27 02:42:16 +01:00
D G Turner
efcd857083 GUI: Fix Mouse Wheel Input for Unknown Game Dialog.
This should also fix this for other instances of ScrollContainer, though
the dialogs / widgets may require the same change.

This fixes bug Trac #10741.
2018-10-11 05:52:02 +01:00
Thierry Crozat
201b347ebd GUI: Improve layout update for UnknownGameDialog
Previously the dialog was not resized and was just recentered on
the screen when the overlay size changed. Now it is properly
resized as well.
2018-05-28 22:21:10 +01:00
Thierry Crozat
42cd3e9596 GUI: Use ScrollContainerWidget in unknown game dialog
This should fix issues when the text to display in the dialog is
too big to fit on the screen.
2018-05-28 22:21:10 +01:00
Thierry Crozat
44bc04e0d9 GUI: Move UnknownGameDialog to gui 2018-05-28 20:55:00 +01:00