You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When a Toplevel is created, it must already have all the Application configuration loaded so that it can be used by any loaded derived Toplevel. Then Application.Run<T>() must call Application.Init() before initialize the T. This is only possible by two ways:
Using Application.Init() first
Using Application.Run() or Application.Run<T>()
The Application.Run(new(Toplevel)) must always call Application.Init() first because the new(Toplevel) may be a derived class that is possible using Application static properties that is only available after the Application.Init was called
To Reproduce
Steps to reproduce the behavior:
Run the 'Example' project
See that the ExampleWindow configuration isn't been used (ColorSheme, Application.QuitKey)
Expected behavior
The ColorSheme used should be White/Blue and Ctrl+Q
Screenshots
Actual:
Expected:
Additional context
v2_develop branch
The text was updated successfully, but these errors were encountered:
Describe the bug
When a
Toplevel
is created, it must already have all theApplication
configuration loaded so that it can be used by any loaded derivedToplevel
. ThenApplication.Run<T>()
must callApplication.Init()
before initialize theT
.This is only possible by two ways:
Application.Init()
firstApplication.Run()
orApplication.Run<T>()
The
Application.Run(new(Toplevel))
must always callApplication.Init()
first because thenew(Toplevel)
may be a derived class that is possible usingApplication
static properties that is only available after theApplication.Init
was calledTo Reproduce
Steps to reproduce the behavior:
ColorSheme
,Application.QuitKey
)Expected behavior
The ColorSheme used should be White/Blue and Ctrl+Q
Screenshots
![image](https://private-user-images.githubusercontent.com/13117724/339499812-58dea677-9213-4d79-b6e8-92413ecc7773.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjIyNTAwMjMsIm5iZiI6MTcyMjI0OTcyMywicGF0aCI6Ii8xMzExNzcyNC8zMzk0OTk4MTItNThkZWE2NzctOTIxMy00ZDc5LWI2ZTgtOTI0MTNlY2M3NzczLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MjklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzI5VDEwNDIwM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTlkN2Y5NDkxZGMzNDhkOTVkNjFhNzUxNThiMWY3MDRhZWNiYzc5MWY2MGI1NjY1NjhmZDE1YzI1ZmVjYjg3ODAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.5Be1gJdwkC4li5TwpVLk2rFYZgAkrLTbLILmtEsoxLA)
Actual:
Expected:
![image](https://private-user-images.githubusercontent.com/13117724/339502363-eaf88fc1-9fe6-4e2e-b916-eb0a638add1c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjIyNTAwMjMsIm5iZiI6MTcyMjI0OTcyMywicGF0aCI6Ii8xMzExNzcyNC8zMzk1MDIzNjMtZWFmODhmYzEtOWZlNi00ZTJlLWI5MTYtZWIwYTYzOGFkZDFjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MjklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzI5VDEwNDIwM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTQ3MzNkNzdhOTI3MThkOTBhMTc3OTlkYjAyMTVjNjg1Y2U5OWY2M2UwNDE3N2RiNjM0NWEzODdjMWQ1NmYxZjYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.igZmHaH7b5UrZG3bmZgKUX230VyVrHzinWXr8F_ljRg)
Additional context
v2_develop branch
The text was updated successfully, but these errors were encountered: