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

If profile in default_profile doesn't exist contour still tries to load profile with that name. #1163

Closed
Utkarsh-khambra opened this issue Aug 13, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@Utkarsh-khambra
Copy link
Collaborator

Contour Terminal version

Contour Terminal Emulator 0.3.13-master-70d304df

Installer source

Github: source code cloned

Operating System

Fedora 38

Architecture

x86-64

Other Software

No response

Steps to reproduce

Give value of config key default_profile to profile name that hasn't been defined in config.

Expected Behavior

Contour should give an error that it didn't find that profile.

Actual Behavior

Contour doesn't give an error and still tries to load that profiile, which in the end is just TerminalProfile{}.

Additional notes

TODO comments does define a sane behavior for this.

@Utkarsh-khambra Utkarsh-khambra added the bug Something isn't working label Aug 13, 2023
@Utkarsh-khambra Utkarsh-khambra self-assigned this Aug 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant