--appdata & --config argument never actually getting used
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 48/100
Hướng nghiên cứu
Start by tracing how --appdata and --config are parsed and how AppInfo and its static objects initialize. Check the preset and plugin manager paths, then verify that the supplied paths are set before any dependent objects initialize and that the example command no longer creates or uses the default directories.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Steps to Reproduce
Use the --appdata or --config arguements.
Other AppInfo paths, preset & plugin manager doesn't actually use the provided path, and default to the usuals.
Expected Behavior
AppInfo should take multiple arguments, and should set them before initializing any paths.
Observed Behavior
When attempting to use AppInfo in any way, we are stuck waiting for it to initialize eveyr static objects, including an instance of AppInfo.
Only then we can set the path specified with arguments.
But by that point, it's already too late.
The other path are already initialized with the wrong appdata directory, the Plugin & Preset manager also have the wrong paths.
Example :
--appdata C:/Users/tinta/Documents/Repo/C#/OTD/Source/OpenTabletDriver-0.6.4.0/bin/userdata
[Settings:Info] The configuration directory 'C:\Users\tinta\Documents\Repo\C#\OTD\Source\OpenTabletDriver-0.6.4.0\OpenTabletDriver.Daemon\bin\Debug\net10.0\Configurations' has been created
[...]
Tablet Device
Diagnostic Information
Diagnostics-067 Wacom PTK-640.json
Acknowledgements
- I have installed OpenTabletDriver by following its official installation instructions.
- I have checked the OpenTabletDriver Wiki and respective FAQ pages, and my issue was not covered or actually fixed.
- I have searched the existing issues and this new issue is not a duplicate of any.
- I have written a concise and meaningful title.
- I am on the latest version of OpenTabletDriver.
- Ngôn ngữ chính
- C#
- Star
- 4.1k
- Fork
- 541
- Merge trung bình
- 2 ngày 15 giờ
- Pull request đã merge (30 ngày)
- 23
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của OpenTabletDriver/OpenTabletDriver
-
linux/gtk packaging
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
OpenTabletDriver/OpenTabletDriver#5020 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
OpenTabletDriver/OpenTabletDriver#4913 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
OpenTabletDriver/OpenTabletDriver#4701 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug gоοd fіrst іssսe packaging
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 68/100
OpenTabletDriver/OpenTabletDriver#4178 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug gui gоοd fіrst іssսe linux/gtk priority:low
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
OpenTabletDriver/OpenTabletDriver#4053 · 5 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của OpenTabletDriver/OpenTabletDriver
Issue tương tự
-
Проблема с Dotnet RUĐang mởarea-tutorials needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
dotnet/website-feedback#1779 ·
-
conductor good first issue ready
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
nilvon9wo/agentic-software-workflow#25 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
S: Untriaged
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
space-wizards/space-station-14#46357 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Versioning_oM: Remove unneeded depeendecy on Test_oMCó thể đã có người làm @IsakNaslundBh đã nhận hôm nay. Đang mởtype:bug type:compliance
Độ khó 2/5 Dưới một giờ Mức phù hợp với người mới 85/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100