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

Empty configs shouldn't break the panel #27

Open
jmc-88 opened this issue Jun 7, 2017 · 0 comments
Open

Empty configs shouldn't break the panel #27

jmc-88 opened this issue Jun 7, 2017 · 0 comments
Assignees
Labels

Comments

@jmc-88
Copy link
Owner

jmc-88 commented Jun 7, 2017

Default values for all configuration attributes should be provided, so that an empty configuration file doesn't result in a crash or in an unusable panel. Right now, if no panel_size is provided, Launcher::GetIconSize() will return 0 and cause Launcher::Resize() to abort the program with SIGFPE.

@jmc-88 jmc-88 self-assigned this Jun 7, 2017
@jmc-88 jmc-88 added the bug label Jun 7, 2017
jmc-88 added a commit that referenced this issue Jun 7, 2017
If this assumption fails, Bad Things™ will happen.

Related issues:
  - #27
jmc-88 added a commit that referenced this issue Jun 7, 2017
jmc-88 added a commit that referenced this issue Sep 20, 2017
jmc-88 added a commit that referenced this issue Sep 20, 2017
Currently unused. Fields will be migrated piecemeal.

Related issues:
  - #27
jmc-88 added a commit that referenced this issue Sep 20, 2017
jmc-88 added a commit that referenced this issue Sep 20, 2017
jmc-88 added a commit that referenced this issue Sep 20, 2017
jmc-88 added a commit that referenced this issue Sep 20, 2017
jmc-88 added a commit that referenced this issue Sep 20, 2017
jmc-88 added a commit that referenced this issue Sep 20, 2017
jmc-88 added a commit that referenced this issue Sep 20, 2017
jmc-88 added a commit that referenced this issue Sep 20, 2017
jmc-88 added a commit that referenced this issue Sep 21, 2017
jmc-88 added a commit that referenced this issue Sep 21, 2017
jmc-88 added a commit that referenced this issue Sep 21, 2017
jmc-88 added a commit that referenced this issue Sep 21, 2017
jmc-88 added a commit that referenced this issue Sep 24, 2017
jmc-88 added a commit that referenced this issue Sep 25, 2017
jmc-88 added a commit that referenced this issue Sep 25, 2017
jmc-88 added a commit that referenced this issue Sep 25, 2017
jmc-88 added a commit that referenced this issue Sep 25, 2017
jmc-88 added a commit that referenced this issue Sep 25, 2017
jmc-88 added a commit that referenced this issue Sep 25, 2017
jmc-88 added a commit that referenced this issue Sep 25, 2017
jmc-88 added a commit that referenced this issue Sep 25, 2017
jmc-88 added a commit that referenced this issue Sep 25, 2017
jmc-88 added a commit that referenced this issue Oct 1, 2017
jmc-88 added a commit that referenced this issue Oct 1, 2017
Cleaner way to provide default values. Move initialization to the constructor
and remove the need for a PanelConfig::Default() initializer.

Related issues:
  - #27
jmc-88 added a commit that referenced this issue Oct 1, 2017
Cleaner way to provide default values. Remove constructor,
TooltipConfig::Default() initializer, and turn class into a struct.

Related issues:
  - #27
jmc-88 added a commit that referenced this issue Oct 1, 2017
jmc-88 added a commit that referenced this issue Oct 1, 2017
Currently unused. Fields will be migrated piecemeal.

Related issues:
  - #27
jmc-88 added a commit that referenced this issue Oct 1, 2017
jmc-88 added a commit that referenced this issue Oct 1, 2017
jmc-88 added a commit that referenced this issue Oct 1, 2017
jmc-88 added a commit that referenced this issue Oct 1, 2017
jmc-88 added a commit that referenced this issue Oct 1, 2017
jmc-88 added a commit that referenced this issue Oct 1, 2017
jmc-88 added a commit that referenced this issue Oct 1, 2017
jmc-88 added a commit that referenced this issue Oct 1, 2017
jmc-88 added a commit that referenced this issue Oct 1, 2017
jmc-88 added a commit that referenced this issue Oct 1, 2017
jmc-88 added a commit that referenced this issue Oct 1, 2017
jmc-88 added a commit that referenced this issue Oct 1, 2017
jmc-88 added a commit that referenced this issue Oct 1, 2017
jmc-88 added a commit that referenced this issue Oct 1, 2017
jmc-88 added a commit that referenced this issue Oct 1, 2017
jmc-88 added a commit that referenced this issue Oct 1, 2017
jmc-88 added a commit that referenced this issue Oct 1, 2017
jmc-88 added a commit that referenced this issue Oct 1, 2017
jmc-88 added a commit that referenced this issue Oct 1, 2017
jmc-88 added a commit that referenced this issue Oct 1, 2017
jmc-88 added a commit that referenced this issue Oct 1, 2017
jmc-88 added a commit that referenced this issue Oct 1, 2017
jmc-88 added a commit that referenced this issue Oct 1, 2017
jmc-88 added a commit that referenced this issue Oct 1, 2017
Cleaner way to provide default values. Move initialization to the constructor
and remove the need for a PanelConfig::Default() initializer.

Related issues:
  - #27
jmc-88 added a commit that referenced this issue Oct 1, 2017
Cleaner way to provide default values. Remove constructor,
TooltipConfig::Default() initializer, and turn class into a struct.

Related issues:
  - #27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant