Skip to content

[BUG] Can't show info on startup. #5294

Open
@Rosuavio

Description

Version of Kakoune

v2024.05.18, master@1eec81b5311f6954a34e481eec8298cf0d436adb

Reproducer

info -style modal -title 'HI' 'Hello'

or

hook global KakBegin .* %{
    info -style modal -title 'HI' 'Hello'
}

or

hook global EnterDirectory .* %{
    info -style modal -title 'HI' 'Hello'
}

in .config/kak/kakrc

Outcome

Model never shows.

Expectations

I see the modal

Additional information

Under certain conditions I want to show an info box really early on startup. Specifically I am trying a info -style modal ... and on v2024.05.18 I tried running the command at the end of my kakrc and on KakBegin and it did not show. What I really need to get working it being able to show a modal on the new EnterDirectory hook. I tried the latest master and I still got don't see anything.

I tried providing a cmd line argument to hide the startup change log (ex. kak -ui terminal). I also used echo -debug HI commands after my info commands to make sure the execution was reaching my code, it was. I test the same exact info commands on the prompt and they show. I seem to be doing everything right but I cannot get a modal to show on KakBegin or EnterDirectory.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions