Feeds:
投稿
コメント

Posts Tagged ‘Safari 5.1’

Update:Safari のノロノロ回避策》


[WebProcess?:image

Mac OS X 10.6.8 追加アップデートをして以来、いろいろと不具合が生じているが、どうやら原因の一部は Safari にもあるらしい。

Tim Bray が Safari をやめるといっている。

ongoing: “Browser Breakup” by Tim Bray: 18 September 2011

     *     *     *

「WebProcess」による Safari の不具合

Sa­fari はもう何年も私のデフォルトブラウザだった。他と比べてそのフレーミングやエルゴノミクス、ショートカットなどが気に入っていたからだ。しかし使うのを辞めざるを得なくなった。

For some years, Safari has been my default browser. I generally prefer its choices in framing and ergonomics and shortcuts over all others. But I’ve had to stop using it.

Safari の最近のバージョンは作り直されて、いくつかの作業を「WebProcess」と呼ばれるものに下請けさせている。これがうまくいっていないようなのだ。気付いた問題点は次のようなものだ。

In recent releases, Safari has been re-architected, with some of the work farmed out to a thing called “WebProcess”. This doesn’t seem to be working out that well. Specif­i­cally, I note that:

・タブからタブへの移動がのろく、システムの負担が増すといたずらに描き換えが起きる。

・Switch­ing from tab to tab is slug­gish, and when the sys­tem gets over­loaded, you get a lot of gra­tu­itous re­paints.

・システム CPU やメモリーを食っているものを読み出そうとすると WebProcess と Sa­fari の著しいプロセス処理[?]が起きる。

・The WebProcess and Sa­fari processes fea­ture promi­nently in read­outs of what’s con­sum­ing the sys­tem’s CPU and mem­ory.

・タブを数ダース開いたままに(あるものは数日の間、あるものは動的コードでいっぱいに)しておくと、システム全体がどんどん遅くなり、不安定になる。

・When you have a few dozen tabs open, some of them for days, and some of them being full of dy­namic code, the whole sys­tem gets in­creas­ingly slow and un­sta­ble.

     *     *     *

John Gruber も同じような問題があることを認めている。

Daring Firebal: “Safari Regressions” by John Gruber: 19 September 2011

     *     *     *

たくさんのウインドウやタブを開いているとき

私も Safari for Mac について Bray と同じことを経験している。特にたくさんのウインドウやタブを開いているときのパフォーマンスが問題だ。まだ Safari から乗り換えるには至っていないが、あちこち代わりを探している。どちらかといえば Safari 5.1 は、Snow Leopard より Lion の方が悪くなるようだ。

I’m seeing the same things Bray is with Safari for Mac, particularly the performance problems when you have a lot of windows and tabs open. I’m not ready to switch yet, but I’m starting to shop around. And if anything, Safari 5.1 seems worse on Lion than it does on Snow Leopard.

     *     *     *

Safari 5.1 のウインドウやタブを複数開いて、ブログを投稿している最中にビーチボールが回り始めると泣きたくなる。

これまではなかったのに、Mac OS X 10.6.8 追加アップデートをして以来の現象だ。

確かにググってみると、10.6.8 追加アップデートには WebProcess だけでなく(こちらこちら)、いろいろと問題があるようだ(こちらこちら)。

そもそも WebProcess って何なんだ?

WebProcess が原因だといわれてもどうしていいのか分からない。従前の Safari 5.0 に戻したものかどうか。

折角 Lion へアップグレードしようとしているのに悩ましい・・・

★ →[原文を見る:Original Text

     *     *     *

《Update》Safari のノロノロ回避策(9月21日)


[Safari の Debug メニューを表示する]

Safari 5.1 のノロノロについて Jason Sims が迂回策を示している。

Stormcloud: “How to stop Safari 5 from unexpectedly reloading pages” by Jason Sims: 20 September 2011

     *     *     *

ノロノロの回避策はある

頼みもしないのに Safari 5 が勝手にページを再読み込みしてしまうことにイライラしていないだろうか? それを回避する方法はあるのだ。それはそれでいくつか問題が生じるけれども。Safari のエクステンションがいくつか効かなくなるほか、新しいジェスチャーもいくつか機能しなくなる点だ。

Annoyed by Safari 5’s tendency to spontaneously reload pages when you didn’t ask it to? There’s a workaround for it, but it introduces a few problems of its own. Some Safari extensions will not work, and some of the new gestures won’t work either.

     *     *     *

Jason Sims の方法を試してみた John Gruber の感想・・・

Daring Fireball: “How to Revert Safari 5.1 to Its Old Single-Process Mode” by John Gruber: 20 September 2011

     *     *     *

ノロノロは改善するがエクステンションが使えなくなるのが難

Safari 5.1 を古いシングル・プロセス・モードに戻す方法

How to Revert Safari 5.1 to Its Old Single-Process Mode

Safari の隠された「Debug」メニューを有効にして、デフォルトの「Use Multi-process Windows」オプションをオフにするだけでいい。こうして昨日 Safari を数時間使ってみた。Safari 5.1 の一般的なノロノロ状況(たくさんのウインドウやタブを開いているときの)は改善するようだ。 しかしこのモードでは、Safari エクステンションの大部分(少なくとも私が愛用しているもの)が使えなくなるので、私にとっては難がある。

What you do is enable Safari’s hidden Debug menu, and turn off the on-by-default “Use Multi-process Windows” option. I ran Safari like this for a few hours yesterday, and it seems to help with Safari 5.1’s general sluggishness (when you have a lot of windows and tabs open) too. But that fact that most Safari extensions (or at least the ones I care about) no longer work in this mode is a deal-breaker for me.

今日は「WebKit nightly builds」[日本語]へスイッチして試してみようと思っている。

What I’m trying today is switching to the WebKit nightly builds.

     *     *     *

そもそも「Multi-process Windows」とは何なのか。Sims の説明によれば・・・

「multi-process window」とは

ところで、「multi-process window」とはいったい何なのか?

So what is a “multi-process window” anyway?

Safari 5.1 の新しい機能のひとつは、基礎となっているエンジン「WebKit2」が新しいバージョンになったことだ。WebKit2 の新しいプロセスアーキテクチャでは、Safari はそれぞれ別の2つのプロセスから構成される。「UI process」(アプリケーションとしての Safari そのもので、アドレスバー、ツールバー、ブックマークバー、メニューなどを含む)と「web process」(実際のウェブページを読み込み、表示する独立のプロセス)の2つだ。

One of the new features in Safari 5.1 is a major new version of the underlying engine — WebKit2. Under WebKit2’s new process architecture, Safari consists of two separate processes — the “UI process” (the Safari application itself, including the address bar, toolbar, bookmarks bar, menus, etc.), and the “web process” (an independent process that loads and displays actual web pages).

     *     *     *

multi-process window はアプリケーションのクラッシュ防止という観点から新たに採用されたらしいが、それがページの再読み込みに関係しているようだ。

それはさておき、早速 Sims の回避策にしたがってSafari の「Debug」メニューを表示させ[冒頭 Update 画像]、「Use Multi-process Windows」のオプションをオフにしてみた。

まだ数時間しか使っていないが、ページやタブを都合100ほど開いてタブからタブへ移動してみても、再読み込みなしに移動できるようだ。

いつも使っていたエクステンションは使えなくなったが、ストレスが少なくなった分メリットが大きい。

★ →[原文を見る:Jason Sims
★ →[原文を見る:John Gruber

Read Full Post »


SublimeVideo Player

Flash を使わなくても HTML5 だけでビデオ再生が可能な SublimeVideo プレーヤが登場したときはその繊細な画像再生能力にビックリしたものだ。

スイスの開発チーム Jilion が SublimeVideo を更に一歩前進させた。どんなブラウザでも使えるユニバーサルプレーヤを目指す SublimeVideo でフルスクリーン再生が可能になったのだ。

Jilion Blog: “World’s First True HTML5 Fullscreen Video” by Jilion Team: 27 July 2011

     *     *     *

エキサイティングなお知らせ

HTML5 ファンのみなさんへエキサイティングなお知らせがあります。真の意味での HTML5 フルスクリーンビデオの再生が可能になりました。私たちのプレーヤ SublimeVideo に実装したばかりです。

We have some exciting news for all the HTML5 enthusiasts out there: true HTML5 fullscreen video playback is now possible, and we’ve built it right into our player.

     *     *     *

HTML5 プレーヤの最大の限界

Flash と比べて HTML5 プレーヤの最大の限界は、真の意味でのフルスクリーン再生ができないことでした。Safari には HTML5 ビデオプレーヤのフルスクリーンオプションが実装されていますが、これはカスタマイズ不可能な QuickTime ビューによるもので、プレーヤをブランド化することも、カスタムコントロールを追加することも出来ませんでした。

Until now, the lack of true fullscreen playback has been the biggest limitation of HTML5 over Flash video. Safari already offered a basic fullscreen option for HTML5 video players, but this was via a non-customizable QuickTime view that didn’t allow the player to be branded or to feature custom controls.

     *     *     *

今回世界で初めて

昨年我々は SublimeVideo プレーヤのデモを公開しましたが、ついに今回世界で初めて SublimeVideo プレーヤの HTML5 コントロールを利用して、すばらしいフルスクリーンを楽しむことが出来るようになりました。

For the first time since we demoed our player last year, we can finally enjoy SublimeVideo’s HTML5 controls in glorious fullscreen.

     *     *     *

目下のところ Safari 5.1 だけ

これは最新の機能であり、SublimeVideo はそれを可能にした初めてのビデオプレーヤとして新天地を切り開くものです。目下のところ最新の Safari 5.1 が必要ですが、Chrome や Firefox も間もなくサポートされる〈注記1〉予定です。

This is a cutting-edge feature and we are breaking new ground by being the first video player to implement it. Right now it requires the very latest version of Safari 5.1, but Chrome and Firefox support should arrive soon1.

     *     *     *

試してみる・・・

試してごらんになりたい方はこちらへ・・・

→[世界初の HTML5 フルスクリーンビデオ

フルスクリーンボタンを押すか、ビデオをダブルクリックすれば、画面いっぱいになります。Safari 5.1 が必要です。

Click on the fullscreen button or double click on the video to enter fullscreen.
Safari 5.1 required.

     *     *     *

修飾キーを押しながら

私たちはこの機能が SublimeVideo プレーヤのすべてのインスタンスで可能になるようにしました。まったく新しい機能なので、目下のところ Safari でしか利用できません。Safari のこれまでのフルウィンドウ拡大はデフォルトオプションのままです。Safari 5.1 をご利用の場合は、真の意味での HTML5 フルスクリーン再生を楽しむためには、Command キー[Mac]ないしは Ctrl キー[Windows]を押しながら〈注記2〉フルウインドウボタンを押してください。修飾キーを押しながらダブルクリックしてもフルスクリーンになります。私たちの顧客のサイトでいくつか試して頂くこともできます。

We’ve now enabled this feature on all instances of SublimeVideo Player. However, because this is a brand new feature that is currently only available in Safari, for now we have left the traditional full-window behavior as the default player option. If you are running Safari 5.1, simply hold down Command (Mac) or Ctrl (Windows) while clicking the player’s full-window button to enjoy true fullscreen HTML5 playback2. You can also double-click the video whilst holding the modifier key to activate fullscreen. You can test it yourself on some of our customers’ sites!

今後とも SublimeVideo の開発にご期待ください。

Stay tuned for more SublimeVideo news and developments.

     *     *     *

Mozilla の Fullscreen API Proposal

注記1:WebKit/Safari におけるフルスクリーンの実装は Mozilla の Fullscreen API Proposal を利用しています。Firefox にもこれが追加されることを期待します。このスレッドを利用して皆さんの声を上げ、Firefox をプッシュしてください。

1. The WebKit/Safari fullscreen implementation is actually based on Mozilla’s Fullscreen API Proposal, so hopefully this will soon be added to Firefox; you can add your voice and push for this feature on Firefox via this thread.

     *     *     *

デフォルト設定

注記2:SublimeVideo の顧客の方が、ブラウザのフルスクリーンサポートをデフォルト設定にしたい場合、いいかえれば command/ctrl キーを押すことを不要にしたい場合は、エレメントに sv_html5_fullscreen クラスを追加することで可能になります。

2. If you are a SublimeVideo customer and want to enable true fullscreen playback by default on supported browsers as we have in the video above (i.e. without needing to hold down the command/ctrl key) you can do it by adding the sv_html5_fullscreen class to your elements.

     *     *     *

前回はフルスクリーンといってもブラウザ内での話だった。たしかに今回はコンピュータ画面でもフルスクリーンになる!

どうやら Flash 必須の時代は終わりを告げつつあるようだ。

ところで筆者の Safari 5.1 の場合、Command キーを押さなくてもフルスクリーンになるんだけど・・・?

★ →[原文を見る:Original Text

Read Full Post »