feat: Add drag-and-drop support and multi-file parsing#157
feat: Add drag-and-drop support and multi-file parsing#157metergames wants to merge 2 commits intopetertzy:mainfrom
Conversation
|
We actually already implemented this PR earlier. However, there is still an unresolved issue. When users are on Apple Silicon (M-series), they may encounter an architecture mismatch:
This leads to runtime errors due to incompatible binaries. It might work fine in your specific environment, but since users can have different systems and hardware configurations, a proper solution should cover these common scenarios. From my research, there is currently no reliable and universal fix for this mismatch in setups like mine. Therefore, I would prefer to wait until the official library/plugin provides proper support before introducing this feature. In the meantime, feel free to continue investigating possible solutions for the architecture compatibility issue. You can either keep improving the implementation or wait for an official update that resolves it. Thanks. |
This PR adds drag-and-drop file opening support to the app, allowing users to open supported files by dragging them into the app window or tabs. The implementation gracefully handles multiple files and various drag-and-drop payload formats. The README is updated to document the feature.
Closes #156
Drag-and-Drop File Support:
.md,.markdown,.html,.htm, and.pdffiles usingtkinterdnd2when available, with fallback to standard window if not.