Skip to content

Wrong string in Quit confirmation dialog #591

Closed

Description

@haiphucnguyen

Bug

The "Quit Askimo?" confirmation dialog shows the wrong message — it reuses the
session deletion string (session.delete.confirm: "Are you sure you want to delete
this session?"
) instead of a quit-specific message.

File: desktop/src/main/kotlin/io/askimo/desktop/Main.kt

if (showQuitDialog) {
                        alertDialog(
                            onDismissRequest = { showQuitDialog = false },
                            title = { Text(stringResource("menu.quit") + "?") },
                            text = { Text(stringResource("session.delete.confirm")) },
                            confirmButton = {

Steps to reproduce

  1. Press the quit shortcut (or trigger the Quit dialog from the menu).
  2. Observe the dialog body text — it mentions deleting a session, not quitting the app.

Expected behaviour

The dialog should display a message like "Are you sure you want to quit Askimo?"

Fix

  1. Add a new key to desktop-shared/src/main/resources/i18n/messages.properties
    and all locale files under the same directory

  2. In Main.kt line 1271, change:

    text = { Text(stringResource("session.delete.confirm")) },

to

 text = { Text(stringResource("app.quit.confirm")) },

Activity

  1. added
    bug
    good first issue
    on Aug 2, 2026
  2. MrChatterjee98 commented on Aug 4, 2026

    @MrChatterjee98
    Contributor

    @haiphucnguyen I have started working on it? can you assign it to me?

  3. haiphucnguyen commented on Aug 4, 2026

    @haiphucnguyen
    CollaboratorAuthor

    @MrChatterjee98 Assigned to you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

buggood first issue

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions