You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Should we use the native OS X open dialog instead of the Chromium one? They look almost identical, but the behavior is different. You can move the native open dialog around, but you can't do that with the chromium dialog.
Should we use the native OS X open dialog instead of the Chromium one?
They look almost identical, but the behavior is different. You can move the
native open dialog around, but you can't do that with the chromium dialog.
The open dialog used by Chromium is in fact a native dialog too, it's just showed as sheet. The open dialog in other applications is in the same style with Atom, so I think it's right to keep Atom's behavior.
The dialog API is reusing Chromium's ui library so the open dialog just follows Chromium's one, I'll reimplement it to control the dialog's style completely.
btw, in Atom the save dialog is also showed as the same style with open dialog, however in most other applications (like Safari, TextEditor) the save dialog is showed as sheet, should we change the behavior of save dialog in Atom?
I don't mind the sheet, but I think the functionality needs to be the same
otherwise to ensure maximum power.
On Friday, May 17, 2013, Cheng Zhao wrote:
The open dialog used by Chromium is in fact a native dialog too, it's just
showed as sheethttps://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/Sheets/Concepts/AboutSheets.html%23//apple_ref/doc/uid/20001043-BABFIBIA.
The open dialog in other applications is in the same style with Atom, so I
think it's right to keep Atom's behavior.
The dialog API is reusing Chromium's ui library so the open dialog just
follows Chromium's one, I'll reimplement it to control the dialog's style
completely.
btw, in Atom the save dialog is also showed as the same style with open
dialog, however in most other applications (like Safari, TextEditor) the
save dialog is shown as sheet, should we change the behavior of save dialog
in Atom?
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/9#issuecomment-18050653
.
Oh I was confused. If the only difference is that it's a sheet but its
otherwise the same, I don't think it matters.
On Friday, May 17, 2013, Nathan Sobo wrote:
I don't mind the sheet, but I think the functionality needs to be the same
otherwise to ensure maximum power.
On Friday, May 17, 2013, Cheng Zhao wrote:
The open dialog used by Chromium is in fact a native dialog too, it's
just showed as sheethttps://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/Sheets/Concepts/AboutSheets.html%23//apple_ref/doc/uid/20001043-BABFIBIA.
The open dialog in other applications is in the same style with Atom, so I
think it's right to keep Atom's behavior.
The dialog API is reusing Chromium's ui library so the open dialog just
follows Chromium's one, I'll reimplement it to control the dialog's style
completely.
btw, in Atom the save dialog is also showed as the same style with open
dialog, however in most other applications (like Safari, TextEditor) the
save dialog is shown as sheet, should we change the behavior of save dialog
in Atom?
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/9#issuecomment-18050653
.
These two types of dialogs have the the same functionality, and are of the save native type (NSOpenPanel), the only difference is how they are showed: [NSOpenPanel beginSheetModalForWindow] shows it as sheet, [NSOpenPanel runModal] shows it as the movable modal dialog.
In most other applications, open dialogs are showed as movable modal dialog, and save dialogs are showed as sheet. In Atom, both are showed as movable modal dialogs. In Atom Shell and Chromium, both are showed as sheets.
So I think we should follow how most of other Cocoa applications did?
I'd say it's not a high priority to make them moveable. If it would be a 30
minute fix I'd do it, otherwise I think we should focus on higher
priority issues and leave the dialog stuff for later.
On Friday, May 17, 2013, Cheng Zhao wrote:
These two types of dialogs have the the same functionality, and are of the
save native type (NSOpenPanel), the only difference is how they are showed: [NSOpenPanel
beginSheetModalForWindow] shows it as sheet, [NSOpenPanel runModal] shows
it as the movable modal dialog.
In most other applications, open dialogs are showed as movable modal
dialog, and save dialogs are showed as sheet. In Atom, both are showed as
movable modal dialogs. In Atom Shell and Chromium, both are showed as
sheets.
So I think we should follow how most of other Cocoa applications did?
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/9#issuecomment-18070050
.
Activity
nathansobo commentedon May 16, 2013
Absolutely: native.
On Thursday, May 16, 2013, Corey Johnson wrote:
zcbenz commentedon May 17, 2013
The open dialog used by Chromium is in fact a native dialog too, it's just showed as sheet. The open dialog in other applications is in the same style with Atom, so I think it's right to keep Atom's behavior.
The dialog API is reusing Chromium's ui library so the open dialog just follows Chromium's one, I'll reimplement it to control the dialog's style completely.
btw, in Atom the save dialog is also showed as the same style with open dialog, however in most other applications (like Safari, TextEditor) the save dialog is showed as sheet, should we change the behavior of save dialog in Atom?
nathansobo commentedon May 17, 2013
I don't mind the sheet, but I think the functionality needs to be the same
otherwise to ensure maximum power.
On Friday, May 17, 2013, Cheng Zhao wrote:
nathansobo commentedon May 17, 2013
Oh I was confused. If the only difference is that it's a sheet but its
otherwise the same, I don't think it matters.
On Friday, May 17, 2013, Nathan Sobo wrote:
zcbenz commentedon May 17, 2013
These two types of dialogs have the the same functionality, and are of the save native type (NSOpenPanel), the only difference is how they are showed:
[NSOpenPanel beginSheetModalForWindow]shows it as sheet,[NSOpenPanel runModal]shows it as the movable modal dialog.In most other applications, open dialogs are showed as movable modal dialog, and save dialogs are showed as sheet. In Atom, both are showed as movable modal dialogs. In Atom Shell and Chromium, both are showed as sheets.
So I think we should follow how most of other Cocoa applications did?
probablycorey commentedon May 19, 2013
I'd say it's not a high priority to make them moveable. If it would be a 30
minute fix I'd do it, otherwise I think we should focus on higher
priority issues and leave the dialog stuff for later.
On Friday, May 17, 2013, Cheng Zhao wrote:
Merge pull request #9 from atom/master
Merge pull request #9 from heyunjiang/master
Merge pull request #9 from electron/master
Merge pull request electron#9 from nantas/v0.35-asar
Merge pull request #9 from aroben/frontend-host-crash
Merge pull request #9 from aroben/frontend-host-crash
replaced run.bat with cli.js closes #9
Merge pull request #13 from JamesKyburz/issue-9
Merge pull request #9 from renaesop/master
fix(docs): 18 stale key counts (56/60/46) across 5 files + a gate