Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

feat(macos): handle Finder "Open With" via application(_:openFile:)

オープン
#1,589 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
56/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
dart, flutter
領域
database, desktop

調査の方向性

Start with macos/Runner/AppDelegate.swift and lib/main.dart, then trace FileLaunchService.addPendingTarget and the MethodChannel setup. Check how cold-start events are queued and how running instances receive open events. Done means Finder “Open With” and double-click pass supported files to the app in both cases, with the generic .db/.db3 extensions reconsidered.

索引モデルが issue の本文から書いたものです。

説明

bug P2

Problem

macos/Runner/Info.plist declares CFBundleDocumentTypes for .sql and .sqlite/.sqlite3/.db/.db3, but AppDelegate.swift does not implement application(_:openFile:) / application(_:open:). On macOS "Open With" and double-click deliver the file as an Apple Event, not in argv, so FileLaunchService.processLaunchArguments(args) (lib/main.dart:27) never sees it. The app opens empty.

FileLaunchService.addPendingTarget exists for "runtime open events", but nothing calls it.

Tasks

  • Implement openFile / open urls in AppDelegate, forward to Dart over a MethodChannel.
  • Handle both cold start (queue until the UI is ready) and an already running instance.
  • Reconsider .db / .db3 as handled extensions (very generic).
主要言語
Dart
スター
23
フォーク
1
平均マージ
31分
マージ済み PR(30日)
570

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

QueryaHub/Querya-Desktop のほかの issue

QueryaHub/Querya-Desktop の issue をすべて見る

似ている issue

Dart の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。