Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

--appdata & --config argument never actually getting used

Đang mở
#5,059 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

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
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
csharp
Lĩnh vực
desktop

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ả

bug priority:high regression
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

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của OpenTabletDriver/OpenTabletDriver

Tất cả issue của OpenTabletDriver/OpenTabletDriver

Issue tương tự

Thêm issue về C#

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.