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

long filenames break the basic settings tab #107

Open
IssMneur opened this issue Sep 15, 2014 · 4 comments
Open

long filenames break the basic settings tab #107

IssMneur opened this issue Sep 15, 2014 · 4 comments

Comments

@IssMneur
Copy link
Member

From niffiwan...@gmail.com on September 27, 2013 04:01:26

What steps will reproduce the problem?

  1. create this empty file in a new folder: fs2_open_3_6_17_ANTIPODES_r9542_performance_tweaks.patch
  2. create a new wxlauncher profile
  3. in the new profile, select the folder you created in step 1 and notice that the "browse" & "refresh" buttons vanish, meaning if you have "auto save profiles" selected then the profile is permanently broken (short of manually editing the pro?????.ini files)

What is the expected output? What do you see instead?

I'd expect the browse/refresh buttons to remain, even if an error has been logged

Note the following error was also output to the terminal:
** (wxlauncher:8356): CRITICAL **: clearlooks_style_draw_focus: assertionwidth >= -1' failed`

What version of the wxLauncher are you using: latest trunk/master/tip
What version of fs2_open: n/a
What mods (and version, if known): n/a
What operating system and version: Centos 6, I've seen it reported by at least one other person on IRC Please provide any additional information below. see attached log from running with a Debug version of wxLauncher

Attachment: wxLauncher.log

Original issue: http://code.google.com/p/wxlauncher/issues/detail?id=107

@IssMneur
Copy link
Member Author

From issmn...@gmail.com on September 29, 2013 21:50:08

I have not had a chance to check this yet, but this raises two questions:

  1. does it happen if the files name doesn't start with fs2_open?
  2. What happens when it is a real executable that that really long name?

Labels: Severity-Low

@IssMneur
Copy link
Member Author

From niffiwan...@gmail.com on September 30, 2013 20:46:12

Thanks for the reply

  1. changing the filename to 12345678_3_6_17_ANTIPODES_r9542_performance_tweaks.patch results in wxL not allowing the directory to be selected. i.e. the Browse dialog box reopens when you select "Open". Note that this dir is empty apart from the one file.

  2. using this file (fs2_open_3.7.1_DEBUG_r9542_performance_tweaks_123456789012345, 62 chars) you get the originally reported results, except that you can select the exec to run and the assertion doesn't trigger. The Browse button is still missing.

Using this shorter filename (fs2_open_3.7.1_DEBUG_r9542_performance_tweaks, 46 chars) leaves a small part of the Browse & Refresh buttons still visible. The text is missing, but at least you can browse to another dir.

@IssMneur
Copy link
Member Author

From niffiwan...@gmail.com on September 30, 2013 20:50:14

Sorry, should clarify that in option 2 above, its a real exec with a long name.

@IssMneur
Copy link
Member Author

This is still an issue with 0.9.6, though it takes a much longer filename to trigger. The one used in the orignal report is now not long enough. The browse and refresh button of the Basic Settings tab disappears.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant