LoginSignup
14
14

More than 5 years have passed since last update.

Atom Shellで俺の役に立ったIssue達

Last updated at Posted at 2014-09-12

はじめに

極ライトにAtom Shellの追いかけやってます

なんで、そんなことやってるかとかのエモイことは、気が向いたらブログに書くかもしれないので、
Feedlyなどで、購読をオネシャス!

勉強になるもの

つまり、あとで読もう状態のもの

Error building in Linux (undefined reference to symbol 'XConvertSelection') · Issue #500 · atom/atom-shell

もともと12.04LTS向けにいろいろ作っているから、Ubuntu14.04ではビルドに工夫が必要らしい。

Support to choose clipboard in clipboard operations (to support middle mouse button copy/paste on *nix platforms) · Issue #377 · atom/atom-shell

Linuxでの2種類のクリップボードの扱いに関して。

[OS X] Hide dock icon? · Issue #422 · atom/atom-shell

ドックにアイコンを出さなく出来るので、常駐系なアプリ製作が可能に!

win: Implement tray icon API. · 1cb135f · atom/atom-shell

タスクトレイにアイコンを出す実装コード(もしかすると、HiDPI対応以前音古いコード化かも。。)

Unable to Capture Option(Alt) Key Combinations in Mac · Issue #402 · atom/atom-shell

Optionキーはaltで参照しろってことらしい。

Shared node context between multiple windows / iframes · Issue #403 · atom/atom-shell

ウィンドウ間でコンテキストの共有するには

How to disable "web-security" in BrowserWindow? · Issue #384 · atom/atom-shell

web-securityオプションに関して。
クッキーの設定は別らしい?!

Support for window transparency · Issue #381 · atom/atom-shell

透明なウィンドウの実現に関して

How to know that module works in atom? · Issue #471 · atom/atom-shell

jQueryが一時期使えないとか騒がれてた系のモジュールの扱いの問題?あまり自分が現状興味ないからスルー気味。

勉強になったもの

Selenium and Chromedriver Compatibility? · Issue #388 · atom/atom-shell

SeleniumでAtom Shellが動かせるようになる。

ただし、OSXでのみかも

Info.plistのバージョンを"Chrome' and '36.0.1985.125"の様に変更する必要あり。

How to detect network availability? · Issue #579 · atom/atom-shell

HTML5のファイル選択ダイアログのAPIはサポートしていないが、こちらはHTML5のAPIでOK

navigator.onLine

Cannot get BrowserWindow icon to work · Issue #563 · atom/atom-shell

BrowserWindowで指定するアイコンのパスはfile://ではなく、普通のパスで指定する。

Access to about:tracing · Issue #281 · atom/atom-shell

chrome://tracing/
で何かパフォーマンスを測れる模様。

[OS X] Retina tray icon isn't used · Issue #541 · atom/atom-shell

メニューバーのアイコンのRetina対応に関して。結局普通のOSXアプリと同様になったっぽい。

Save / restore window state · Issue #526 · atom/atom-shell

アプリのウィンドウサイズや位置の保存は自前でおこなう必要がある。

Is atom-shell intended to be compatible with prebuilt node modules? · Issue #533 · atom/atom-shell

  • Atom Shellは内部でChromiumを使用
  • Chromiumが依存しているバージョンのV8に合わせてNode.jsを利用
  • Chromiumの依存しているV8のバージョンは現行のNode.jsの利用している版より新しい

以上により、node.js向けのモジュールとはバイナリ互換がない。Atom Shell向けにビルドする必要がある。

Add support for the 'allow-file-access' switch · Issue #483 · atom/atom-shell

ローカルファイルアクセスの扱い。

allow-file-accessオプション自体はChrome OS向けのオプションらしい。Atom Shellでは、実装しないとのこと。
この辺りよく分らない人はローカルサーバーを内包ればOK。

file input elements do not seem to be supported · Issue #454 · atom/atom-shell

HTML5のファイルダイアログAPIは現状未実装だが、将来的にはサポートされる可能性ありとのこと。

wrong __dirname when javascript file in subdirectory is included using <script> tag · Issue #421 · atom/atom-shell

js中とhtml上での__dirname等の挙動の違いに関して。

Test hangs on SecurityError · Issue #400 · atom/atom-shell

付属のtest.pyは --ciが一般人モード。

OS X 10.9.3 tray crashes atom-shell · Issue #383 · atom/atom-shell

GUIを実装する際のガベージコレクション対応に関して。
表示しておきたいオブジェクトはGCの対象から明示的に外す必要がある模様。

Datalist elements do not work · Issue #360 · atom/atom-shell

app.commandLine.appendSwitchの書き方参考になった。

14
14
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
14
14