Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The Open dialog always shows up on launch despite the setting on CotEditor 4.8.3 #1638

Closed
ykqmain opened this issue May 14, 2024 · 11 comments
Closed
Assignees
Labels
bug somethings work not correctly
Milestone

Comments

@ykqmain
Copy link

ykqmain commented May 14, 2024

Current issue

Because I often use CotEditor as a draft paper, I hope that when opening CotEditor, it is a new blank text by default. The new version adds a new function. it opens the document selection by default, which seriously affects daily work.

The solution you'd like

Restore the default behavior of the previous version, or add a switch for users to choose from.

Alternatives you've considered

No response

CotEditor version

4.8.3 (649)

macOS version

macOS 14.5

Additional context

No response

@ykqmain ykqmain added the request feature requests from users label May 14, 2024
@1024jp
Copy link
Member

1024jp commented May 14, 2024

Hmm, this is not an intentional change but can be a side effect of an implementation change in 4.8.3.
It works as expected in my environment but perhaps there is a case that is out of order.
This behavior on launch can be affected by multiple conditions.

Therefore, to break down the issue, could you share a screenshot of the General settings pane and also whether you use the iCloud Drive feature in CotEditor?
Regarding the iCloud Drive, you can check it in System Settings > Your account (the first item in the sidebar of the System Settings window with your icon) > iCloud > iCloud Document > Apps Syncing to iCloud Drive.

Screenshot 2024-05-15 at 2 20 08

when opening CotEditor,

In addition, could you also let me know more exactly when?
Is there a difference in the two following actions?:

  • When you launch the application that has not been started yet.
  • When you click the app icon in the dock which has already been started.

@1024jp 1024jp changed the title Problems with version 4.8.3 The Open dialog always shows up on launch despite the setting on CotEditor 4.8.3 May 14, 2024
@inf0dr0id
Copy link

I have the same issue since 4.8.3 installed from the Apple app store.

When you launch the application that has not been started yet.

It now opens the "file open" dialog despite the settings.

When you click the app icon in the dock which has already been started.

It opens a new empty document window as configured in the settings.

Bildschirmfoto 2024-05-15 um 10 29 03

App syncing to iCloud is enabled.

@wanik
Copy link

wanik commented May 16, 2024

Maybe the same case:

  • CotEditor: 4.8.3 (649)
  • System: macOS バージョン13.6.6(ビルド22G630)
  • Language: Japanese
  1. 設定 > 一般 > 起動したとき において、もともと「新規書類を作成」を選択していましたが、「"開く"ダイアログを表示」にして、アプリを再起動しました。
  2. 結果は、確かに、「"開く"ダイアログ」になりました。
  3. 次に、もとに戻そうとして、「新規書類を作成」を選択して、アプリを再起動しました
  4. しかし、今度は、再び「"開く"ダイアログ」が現れ、「新規書類」が開かれませんでした
  5. その後、「新規書類」が開かれない状態が続いています。

@Phate0001
Copy link

Phate0001 commented May 16, 2024

I have the exact same issue too.

It always happens when I launch the application that has not been started yet!
It does not happen if I click the app icon in the dock and the app is already running.

CotEditor syncing to iCloud Drive: YES!

Environment (Environment)

  • CotEditor: 4.8.3 (649)
  • System: macOS Version 14.5 (Build 23F79)
  • Language: German

Short description (Short description)

The “Open file” dialog appears, although it is set differently in the settings.
The “Create new document” behavior does not work and the “Open file” dialog is always displayed when starting the app for the first time.

coteditor_Fehler (1)

@faiare
Copy link

faiare commented May 17, 2024

  • CotEditor: 4.8.3 (649)
  • macOS 14.5(23F79)(Same problem in 14.4)
  • Language: Japanese
  • iCloud Drive: Yes

I have the same issue too.

I updated CotEditor from a previous version in the App Store.
I have not made any changes to configuration during that time.

Please let me know if you need any other information.

スクリーンショット 2024-05-17 10 59 37

@Ryo-ryomac
Copy link

I am also experiencing the same inconvenience.

The environment is the same.
CotEditor: 4.8.3 (649)
macOS Sonoma 14.5(23F79)
Language: Japanese
iCloud Drive: Yes

@ykqmain
Copy link
Author

ykqmain commented May 17, 2024

@1024jp

When you mention iCloud Drive, I think I understand its logic because when I used macOS's textEdit.app before, they had similar behaviors.

Closing iCloud Drive in CotEditor can solve this problem, but this setting is hidden too deeply in macOS, which may be too complex for beginners.

As far as I know, it is precisely because of this feature of textEdit.app that a large number of people use CotEditor as a substitute for textEdit.app. Will this feature be adjusted in future versions?

@gregarios
Copy link

gregarios commented May 20, 2024

screenshot-20240520-73149-AM
Same issue here. Also, the app quits every time the last window is closed as well.

@1024jp 1024jp self-assigned this May 21, 2024
@1024jp 1024jp added bug somethings work not correctly and removed request feature requests from users labels May 21, 2024
@1024jp 1024jp added this to the 4.8.4 milestone May 21, 2024
@1024jp
Copy link
Member

1024jp commented May 21, 2024

Thank you for the report, guys.
I realized the Open dialog forcibly shows up when the "Reopen windows from last session" option is turned off.
I'll fix it in the next version. Please be patient for a while.

@1024jp 1024jp closed this as completed in 76e9cf5 May 22, 2024
@1024jp
Copy link
Member

1024jp commented May 22, 2024

Sorry for taking time.
Contrary to intuitive sense, it is incredibly complex to reliably suppress the Open dialogs in modern Cocoa applications...
(I don’t understand why Apple hides the chance to control it.)

Well, anyway, I believe now I succeed in fixing this in all possible setting combinations.
The fix will be shipped within this week.

@1024jp
Copy link
Member

1024jp commented May 23, 2024

Submitted feedback to Apple: FB13807016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug somethings work not correctly
Development

No branches or pull requests

8 participants