Skip to content
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

filter on string in server list #3852

Closed
DorpsGek opened this issue May 22, 2010 · 7 comments
Closed

filter on string in server list #3852

DorpsGek opened this issue May 22, 2010 · 7 comments
Labels
component: interface This is an interface issue flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

planetmaker opened the ticket and wrote:

Given the amount of stable servers it might help to find a particular server by means of a filter function as found in other windows.

Reported version: Version?
Operating system: All


This issue was imported from FlySpray: https://bugs.openttd.org/task/3852
@DorpsGek
Copy link
Member Author

Alberth wrote:

There are a lot of criteria you may want to filter on, all of them should be usable as criterion.


This comment was imported from FlySpray: https://bugs.openttd.org/task/3852#comment8079

@DorpsGek
Copy link
Member Author

DorpsGek commented Sep 3, 2011

perk11 wrote:

Yeah, at least it should be a server name, so one could find a server when he knows the name. But also it may be filter based on a particular setting or/and grf.


This comment was imported from FlySpray: https://bugs.openttd.org/task/3852#comment10308

@DorpsGek
Copy link
Member Author

handrake wrote:

Would it be alright to use a C++ regex library like Boost? Or should I stick to something simpler.


This comment was imported from FlySpray: https://bugs.openttd.org/task/3852#comment11034

@DorpsGek
Copy link
Member Author

frosch wrote:

Stick to simple substring matching, we already have such filters in various windows. No regular expression. Most users wouldn't be able to use them anyway.

Anyway, in case you want to look into this: The biggest hurdle is that OpenTTD currently can only handle one editbox per window since there is no concept of "focus" within windows resp. the editbox is handle by the window not by a widget.


This comment was imported from FlySpray: https://bugs.openttd.org/task/3852#comment11036

@DorpsGek
Copy link
Member Author

ToBeFree wrote:

I like the idea - and I like regular expressions, too. What about adding a checkbox for "RegEx" next to the text field? ;-)
If that checkbox is disabled by default, "most users" should have no problem.

If OpenTTD is unable to handle more than one editbox per window, I think this should be changed, too. Another feature request needed?


This comment was imported from FlySpray: https://bugs.openttd.org/task/3852#comment11598

@DorpsGek
Copy link
Member Author

Eagle_rainbow wrote:

see also the forum discussion on this available at http://www.tt-forums.net/viewtopic.php?f=33&t=59329


This comment was imported from FlySpray: https://bugs.openttd.org/task/3852#comment11632

@DorpsGek
Copy link
Member Author

frosch closed the ticket.

Reason for closing: Implemented

in r24769


This comment was imported from FlySpray: https://bugs.openttd.org/task/3852

@DorpsGek DorpsGek added component: interface This is an interface issue flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) enhancement labels Apr 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: interface This is an interface issue flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)
Projects
None yet
Development

No branches or pull requests

1 participant