omarchy icon indicating copy to clipboard operation
omarchy copied to clipboard

Walker appears and disappears

Open ArchGalileu opened this issue 1 year ago • 20 comments

Congratulations for omarchy

The best distro ever used, and i'm on Arch for many years

Just a glitch, on last update walker appear and disappears, when run from terminal works perfect, but on shortcut appears and disappears

Again, thank you for the great work

Best regards ArchGalileu

ArchGalileu avatar Aug 03 '25 23:08 ArchGalileu

What do you mean exactly? You push SUPER + SPACE, and you just see it flash for a moment? Have you made any alterations to the Omarchy configs?

dhh avatar Aug 04 '25 09:08 dhh

Hello @dhh

Yes i made a few alterations :(

but now i copied the content of the walker config.toml from omarchy repository and still the same...

can i see any log? do you advice anything?

Best regards

ArchGalileu avatar Aug 04 '25 14:08 ArchGalileu

I have the same issue. SUPER + SPACE does all of a sudden not run Walker anymore. Essentially, I can't launch any apps any longer. Walker still seems to be running:

~/git/ssp-data/writing-starlake main !1 ❯ ps aux | grep walker                                     ✘ INT
sspaeti     1216  9.4  7.6 12430404 2126044 ?    Rl   12:21  28:48 /usr/bin/walker --gapplication-service
sspaeti   129274  0.0  0.2 2105204 59460 ?       Sl   16:58   0:00 walker --dmenu --placeholder Search file names for:  --forceprint
sspaeti   149739  0.2  0.2 2030384 59208 ?       Sl   17:26   0:00 walker
sspaeti   149755  0.2  0.2 2104628 59152 ?       Sl   17:26   0:00 walker
sspaeti   149768  0.2  0.2 2104628 59124 ?       Sl   17:26   0:00 walker
sspaeti   149781  0.3  0.2 2104628 59320 ?       Sl   17:26   0:00 walker
sspaeti   149794  0.3  0.2 2030640 59288 ?       Sl   17:26   0:00 walker
sspaeti   149927  0.0  0.0   6472  4016 pts/1    S+   17:26   0:00 grep --color=auto --exclude-dir=.bzr --exclude-dir=CVS --exclude-dir=.git --exclude-dir=.hg --exclude-dir=.svn --exclude-dir=.idea --exclude-dir=.tox --exclude-dir=.venv --exclude-dir=venv walker

I fixed it by killing and restarting:

~ ❯ pkill walker 
~ ❯ uwsm app -- walker --gapplication-service &

Now it looks like this:

~/.local/share/omarchy dev *2 ❮ ps aux | grep walker
sspaeti   154643  3.9  0.8 4434576 249564 pts/0  SNl  17:30   0:00 /usr/bin/walker --gapplication-service
sspaeti   155118  0.0  0.0   6472  4116 pts/1    S+   17:30   0:00 grep --color=auto --exclude-dir=.bzr --exclude-dir=CVS --exclude-dir=.git --exclude-dir=.hg --exclude-dir=.svn --exclude-dir=.idea --exclude-dir=.tox --exclude-dir=.venv --exclude-dir=venv walker

sspaeti avatar Aug 04 '25 15:08 sspaeti

Hello @sspaeti

tried and the same :(

when trying to press CTRL + SPACE

But, if i open an terminal and run just "walker" it works perfect ;)

Below the info from the first time pressing CTRL + SPACE after run the commands you printed

INFO Vulkan: Loader Message: linux_read_sorted_physical_devices: priority=6 code_file=../gtk/gdk/gdkvulkancontext.c code_line=1695 code_func=gdk_vulkan_debug_report glib_domain=Gdk INFO Vulkan: Loader Message: Original order: priority=6 code_file=../gtk/gdk/gdkvulkancontext.c code_line=1695 code_func=gdk_vulkan_debug_report glib_domain=Gdk INFO Vulkan: Loader Message: [0] AMD Radeon Graphics (RADV RENOIR) priority=6 code_file=../gtk/gdk/gdkvulkancontext.c code_line=1695 code_func=gdk_vulkan_debug_report glib_domain=Gdk INFO Vulkan: Loader Message: Sorted order: priority=6 code_file=../gtk/gdk/gdkvulkancontext.c code_line=1695 code_func=gdk_vulkan_debug_report glib_domain=Gdk INFO Vulkan: Loader Message: [0] AMD Radeon Graphics (RADV RENOIR) priority=6 code_file=../gtk/gdk/gdkvulkancontext.c code_line=1695 code_func=gdk_vulkan_debug_report glib_domain=Gdk INFO Vulkan: Loader Message: linux_read_sorted_physical_devices: priority=6 code_file=../gtk/gdk/gdkvulkancontext.c code_line=1695 code_func=gdk_vulkan_debug_report glib_domain=Gdk INFO Vulkan: Loader Message: Original order: priority=6 code_file=../gtk/gdk/gdkvulkancontext.c code_line=1695 code_func=gdk_vulkan_debug_report glib_domain=Gdk INFO Vulkan: Loader Message: [0] AMD Radeon Graphics (RADV RENOIR) priority=6 code_file=../gtk/gdk/gdkvulkancontext.c code_line=1695 code_func=gdk_vulkan_debug_report glib_domain=Gdk INFO Vulkan: Loader Message: Sorted order: priority=6 code_file=../gtk/gdk/gdkvulkancontext.c code_line=1695 code_func=gdk_vulkan_debug_report glib_domain=Gdk INFO Vulkan: Loader Message: [0] AMD Radeon Graphics (RADV RENOIR) priority=6 code_file=../gtk/gdk/gdkvulkancontext.c code_line=1695 code_func=gdk_vulkan_debug_report glib_domain=Gdk INFO Vulkan: Loader Message: linux_read_sorted_physical_devices: priority=6 code_file=../gtk/gdk/gdkvulkancontext.c code_line=1695 code_func=gdk_vulkan_debug_report glib_domain=Gdk INFO Vulkan: Loader Message: Original order: priority=6 code_file=../gtk/gdk/gdkvulkancontext.c code_line=1695 code_func=gdk_vulkan_debug_report glib_domain=Gdk INFO Vulkan: Loader Message: [0] AMD Radeon Graphics (RADV RENOIR) priority=6 code_file=../gtk/gdk/gdkvulkancontext.c code_line=1695 code_func=gdk_vulkan_debug_report glib_domain=Gdk INFO Vulkan: Loader Message: Sorted order: priority=6 code_file=../gtk/gdk/gdkvulkancontext.c code_line=1695 code_func=gdk_vulkan_debug_report glib_domain=Gdk INFO Vulkan: Loader Message: [0] AMD Radeon Graphics (RADV RENOIR) priority=6 code_file=../gtk/gdk/gdkvulkancontext.c code_line=1695 code_func=gdk_vulkan_debug_report glib_domain=Gdk INFO Vulkan: Loader Message: linux_read_sorted_physical_devices: priority=6 code_file=../gtk/gdk/gdkvulkancontext.c code_line=1695 code_func=gdk_vulkan_debug_report glib_domain=Gdk INFO Vulkan: Loader Message: Original order: priority=6 code_file=../gtk/gdk/gdkvulkancontext.c code_line=1695 code_func=gdk_vulkan_debug_report glib_domain=Gdk INFO Vulkan: Loader Message: [0] AMD Radeon Graphics (RADV RENOIR) priority=6 code_file=../gtk/gdk/gdkvulkancontext.c code_line=1695 code_func=gdk_vulkan_debug_report glib_domain=Gdk INFO Vulkan: Loader Message: Sorted order: priority=6 code_file=../gtk/gdk/gdkvulkancontext.c code_line=1695 code_func=gdk_vulkan_debug_report glib_domain=Gdk INFO Vulkan: Loader Message: [0] AMD Radeon Graphics (RADV RENOIR) priority=6 code_file=../gtk/gdk/gdkvulkancontext.c code_line=1695 code_func=gdk_vulkan_debug_report glib_domain=Gdk INFO Vulkan: Loader Message: Failed to find vkGetDeviceProcAddr in layer "libVkLayer_MESA_device_select.so" priority=6 code_file=../gtk/gdk/gdkvulkancontext.c code_line=1695 code_func=gdk_vulkan_debug_report glib_domain=Gdk INFO Vulkan: Loader Message: vkCreateDevice layer callstack setup to: priority=6 code_file=../gtk/gdk/gdkvulkancontext.c code_line=1695 code_func=gdk_vulkan_debug_report glib_domain=Gdk INFO Vulkan: Loader Message: <Application> priority=6 code_file=../gtk/gdk/gdkvulkancontext.c code_line=1695 code_func=gdk_vulkan_debug_report glib_domain=Gdk INFO Vulkan: Loader Message: || priority=6 code_file=../gtk/gdk/gdkvulkancontext.c code_line=1695 code_func=gdk_vulkan_debug_report glib_domain=Gdk INFO Vulkan: Loader Message: <Loader> priority=6 code_file=../gtk/gdk/gdkvulkancontext.c code_line=1695 code_func=gdk_vulkan_debug_report glib_domain=Gdk INFO Vulkan: Loader Message: || priority=6 code_file=../gtk/gdk/gdkvulkancontext.c code_line=1695 code_func=gdk_vulkan_debug_report glib_domain=Gdk INFO Vulkan: Loader Message: <Device> priority=6 code_file=../gtk/gdk/gdkvulkancontext.c code_line=1695 code_func=gdk_vulkan_debug_report glib_domain=Gdk INFO Vulkan: Loader Message: Using "AMD Radeon Graphics (RADV RENOIR)" with driver: "/usr/lib/libvulkan_radeon.so" priority=6 code_file=../gtk/gdk/gdkvulkancontext.c code_line=1695 code_func=gdk_vulkan_debug_report glib_domain=Gdk

ArchGalileu avatar Aug 04 '25 16:08 ArchGalileu

  1. pkill walker
  2. walker --gapplication-service in terminal
  3. press keybind

... the log above doesn't indicate anything not working.

abenz1267 avatar Aug 04 '25 18:08 abenz1267

Hello @abenz1267

ERROR gtk_box_append: assertion 'gtk_widget_get_parent (child) == NULL' failed glib_old_log_api=1 priority=4 glib_domain=Gtk ERROR gtk_box_append: assertion 'gtk_widget_get_parent (child) == NULL' failed glib_old_log_api=1 priority=4 glib_domain=Gtk ERROR gtk_box_append: assertion 'gtk_widget_get_parent (child) == NULL' failed glib_old_log_api=1 priority=4 glib_domain=Gtk

ArchGalileu avatar Aug 04 '25 18:08 ArchGalileu

that's not stopping it from running. just some GTK error.

abenz1267 avatar Aug 04 '25 18:08 abenz1267

Is there another way to log?

@abenz1267

ArchGalileu avatar Aug 04 '25 18:08 ArchGalileu

if there'd be some error that's preventing it from starting, it'd show up there.

abenz1267 avatar Aug 04 '25 18:08 abenz1267

@abenz1267

` panic: runtime error: invalid memory address or nil pointer dereference [recovered] panic: closure error: unexpected panic caught: runtime error: invalid memory address or nil pointer dereference

Closure added at:
	github.com/diamondburned/gotk4/pkg/gtk/v4.(*SignalListItemFactory).ConnectBind at /home/runner/go/pkg/mod/github.com/diamondburned/gotk4/[email protected]/gtk/v4/gtk.go:99732
	github.com/abenz1267/walker/internal/ui.setupFactory at /home/runner/work/walker/walker/internal/ui/ui.go:485
	github.com/abenz1267/walker/internal/ui.setupCommon at /home/runner/work/walker/walker/internal/ui/ui.go:304 [recovered]
panic: closure error: unexpected panic caught: runtime error: invalid memory address or nil pointer dereference

Closure added at:
	github.com/diamondburned/gotk4/pkg/gtk/v4.(*SignalListItemFactory).ConnectBind at /home/runner/go/pkg/mod/github.com/diamondburned/gotk4/[email protected]/gtk/v4/gtk.go:99732
	github.com/abenz1267/walker/internal/ui.setupFactory at /home/runner/work/walker/walker/internal/ui/ui.go:485
	github.com/abenz1267/walker/internal/ui.setupCommon at /home/runner/work/walker/walker/internal/ui/ui.go:304

[signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0xa7f4d3]

goroutine 1 [running, locked to thread]: github.com/diamondburned/gotk4/pkg/core/closure.(*FuncStack).TryRepanic(0xc000116180) /home/runner/go/pkg/mod/github.com/diamondburned/gotk4/[email protected]/core/closure/funcstack.go:118 +0xe6 panic({0xc16860?, 0xc0003d0420?}) /opt/hostedtoolcache/go/1.24.5/x64/src/runtime/panic.go:792 +0x132 github.com/diamondburned/gotk4/pkg/core/closure.(*FuncStack).Panicf(0xc000455b60, {0xe8cc62, 0x1b}, {0xc000563310, 0x1, 0x1}) /home/runner/go/pkg/mod/github.com/diamondburned/gotk4/[email protected]/core/closure/funcstack.go:104 +0x905 github.com/diamondburned/gotk4/pkg/core/closure.(*FuncStack).TryRepanic(0xc000455b60) /home/runner/go/pkg/mod/github.com/diamondburned/gotk4/[email protected]/core/closure/funcstack.go:122 +0xbc panic({0xc6a8c0?, 0x1796f70?}) /opt/hostedtoolcache/go/1.24.5/x64/src/runtime/panic.go:792 +0x132 github.com/davidbyttow/govips/v2/vips.(*ImageRef).Thumbnail(0x0, 0x120a7f0?, 0x18bf6e0?, 0x8?) /home/runner/go/pkg/mod/github.com/davidbyttow/govips/[email protected]/vips/image.go:1830 +0x13 github.com/abenz1267/walker/internal/ui.createThumbnail({0xc000164d20, 0x5c}) /home/runner/work/walker/walker/internal/ui/ui.go:1149 +0x106 github.com/abenz1267/walker/internal/ui.setupFactory.func4(0x3305210?) /home/runner/work/walker/walker/internal/ui/ui.go:546 +0x4f7 github.com/diamondburned/gotk4/pkg/gtk/v4._gotk4_gtk4_SignalListItemFactory_ConnectBind(0xc000002380?, 0x3305210, 0x559112?) /home/runner/go/pkg/mod/github.com/diamondburned/gotk4/[email protected]/gtk/v4/gtk_export.go:9636 +0xc2 github.com/diamondburned/gotk4/pkg/core/gioutil._Cfunc_gotk4_gbox_list_splice(0x2930660, 0x0, 0x30, 0x3233330) _cgo_gotypes.go:245 +0x3e github.com/diamondburned/gotk4/pkg/core/gioutil.(*ListModel[...]).Splice.func2(...) /home/runner/go/pkg/mod/github.com/diamondburned/gotk4/[email protected]/core/gioutil/listmodel.go:85 github.com/diamondburned/gotk4/pkg/core/gioutil.(*ListModel[...]).Splice(0x121b900?, 0x0?, 0x30, {0xc00023e008, 0x64?, 0xc0001a2078?}) /home/runner/go/pkg/mod/github.com/diamondburned/gotk4/[email protected]/core/gioutil/listmodel.go:85 +0x225 github.com/abenz1267/walker/internal/ui.populateList.func1() /home/runner/work/walker/walker/internal/ui/interactions.go:870 +0x6c github.com/diamondburned/gotk4/pkg/core/glib._gotk4_sourceFunc(0x103b) /home/runner/go/pkg/mod/github.com/diamondburned/gotk4/[email protected]/core/glib/glib.go:352 +0xd9 github.com/diamondburned/gotk4/pkg/gio/v2._Cfunc_g_application_run(0x287eb50, 0x2, 0x28b5750) _cgo_gotypes.go:14094 +0x46 github.com/diamondburned/gotk4/pkg/gio/v2.(*Application).Run.func3(...) /home/runner/go/pkg/mod/github.com/diamondburned/gotk4/[email protected]/gio/v2/gio.go:42200 github.com/diamondburned/gotk4/pkg/gio/v2.(*Application).Run(0xc00020bb00, {0xc000022080, 0x2, 0x2}) /home/runner/go/pkg/mod/github.com/diamondburned/gotk4/[email protected]/gio/v2/gio.go:42200 +0x230 main.main() /home/runner/work/walker/walker/cmd/walker.go:99 +0x29b `

ArchGalileu avatar Aug 04 '25 18:08 ArchGalileu

yay -Q | grep libvips .. whats the output?

abenz1267 avatar Aug 04 '25 18:08 abenz1267

@abenz1267 libvips 8.17.1-1

ArchGalileu avatar Aug 04 '25 18:08 ArchGalileu

well i have installed walker-bin version 0.13.15 before some minutes was 0.13.14 but the same ;)

I tried with walker but result was the same...

ArchGalileu avatar Aug 04 '25 18:08 ArchGalileu

I'm not even sure what you are doing tbh, because the error log indicates you are opening something with images (not icons...) ... but you said you just try to open walker with the keybind? I'm confused.

abenz1267 avatar Aug 04 '25 19:08 abenz1267

Ok, managed to work

i run walker -C and voilá everything works.... well... without the omarchy customizations, config.toml and theme, just to walker, of course....

Thank you for your pacience... i tryed as much as possible...

Best regards

Congratulations for Walker and Omarchy as an all

ArchGalileu avatar Aug 04 '25 21:08 ArchGalileu

Working config.toml for walker with theme applied

app_launch_prefix = "uwsm app -- "
terminal_title_flag = ""
locale = ""
close_when_open = false
theme = "omarchy-default"
theme_base = []
theme_location = ["~/.local/share/omarchy/default/walker/themes/"]
monitor = ""
hotreload_theme = false
as_window = false
timeout = 0
disable_click_to_close = false
force_keyboard_focus = false
plugin_location = []
js_runtime = "node"

[keys]
accept_typeahead = ["tab"]
trigger_labels = "lalt"
next = ["down"]
prev = ["up"]
close = ["esc"]
remove_from_history = ["shift backspace"]
resume_query = ["ctrl r"]
toggle_exact_search = ["ctrl m"]

[keys.activation_modifiers]
keep_open = "shift"
alternate = "alt"

[keys.ai]
clear_session = ["ctrl x"]
copy_last_response = ["ctrl c"]
resume_session = ["ctrl r"]
run_last_response = ["ctrl e"]

[events]
on_activate = ""
on_selection = ""
on_exit = ""
on_launch = ""
on_query_change = ""

[list]
dynamic_sub = true
keyboard_scroll_style = "emacs"
max_entries = 50
show_initial_entries = true
single_click = true
visibility_threshold = 20
placeholder = "No Results"

[search]
argument_delimiter = "#"
placeholder = "Search..."
delay = 0
resume_last_query = false

[activation_mode]
labels = "jkl;asdf"

[builtins.hyprland_keybinds]
show_sub_when_single = true
weight = 5
name = "hyprland_keybinds"
placeholder = "Hyprland Keybinds"
switcher_only = true

[builtins.applications]
weight = 5
name = "applications"
placeholder = " Search..."
prioritize_new = false
hide_actions_with_empty_query = true
context_aware = false
refresh = true
show_sub_when_single = false
show_icon_when_single = true
show_generic = true
history = false
icon = ""
hidden = true

[builtins.applications.actions]
enabled = true
hide_category = false
hide_without_query = true

[builtins.bookmarks]
weight = 5
placeholder = "Bookmarks"
name = "bookmarks"
icon = "bookmark"
switcher_only = true

[[builtins.bookmarks.entries]]
label = "Walker"
url = "https://github.com/abenz1267/walker"
keywords = ["walker", "github"]

[builtins.xdph_picker]
hidden = true
weight = 5
placeholder = "Screen/Window Picker"
show_sub_when_single = true
name = "xdphpicker"
switcher_only = true

[builtins.ai]
weight = 5
placeholder = "AI"
name = "ai"
icon = "help-browser"
switcher_only = true
show_sub_when_single = true

[[builtins.ai.anthropic.prompts]]
model = "claude-3-7-sonnet-20250219"
temperature = 1
max_tokens = 1_000
label = "General Assistant"
prompt = "You are a helpful general assistant. Keep your answers short and precise."

[builtins.calc]
require_number = true
weight = 5
name = "calc"
icon = "accessories-calculator"
placeholder = "Calculator"
min_chars = 4

[builtins.windows]
weight = 5
icon = "view-restore"
name = "windows"
placeholder = "Windows"
show_icon_when_single = true

[builtins.clipboard]
always_put_new_on_top = true
exec = "wl-copy"
weight = 5
icon = "user-bookmarks"
name = "clipboard"
avoid_line_breaks = true
placeholder = "Clipboard"
image_height = 300
max_entries = 10
switcher_only = true

[builtins.commands]
weight = 5
icon = "utilities-terminal"
switcher_only = true
name = "commands"
placeholder = "Commands"
hidden = true

[builtins.custom_commands]
weight = 5
icon = "utilities-terminal"
name = "custom_commands"
placeholder = "Custom Commands"

[builtins.emojis]
exec = "wl-copy"
weight = 5
icon = "face-smile"
name = "emojis"
placeholder = "Emojis"
switcher_only = true
history = true
typeahead = true
show_unqualified = false

[builtins.symbols]
exec = "wl-copy '%RESULT%'"
weight = 5
name = "symbols"
placeholder = "Symbols"
switcher_only = true
history = true
typeahead = true

[builtins.finder]
use_fd = true
fd_flags = "--ignore-vcs --type file --type directory"
cmd_alt = "xdg-open $(dirname ~/%RESULT%)"
weight = 5
icon = "file"
name = "Finder"
placeholder = "Finder"
switcher_only = true
ignore_gitignore = true
refresh = true
concurrency = 8
show_icon_when_single = true
preview_images = true
hidden = false
prefix = "."

[builtins.runner]
eager_loading = true
weight = 5
icon = "utilities-terminal"
name = "runner"
placeholder = "Runner"
typeahead = true
history = true
generic_entry = false       # Generic command runner
shell_config = ""           # Path to shell to parse for aliases
refresh = true
use_fd = false
switcher_only = true
hidden = true

[builtins.ssh]
weight = 5
icon = "preferences-system-network"
name = "ssh"
placeholder = "SSH"
switcher_only = true
history = true
refresh = true

[builtins.switcher]
weight = 5
name = "switcher"
placeholder = "Switcher"
prefix = "/"

[builtins.websearch]
keep_selection = true
weight = 5
icon = "applications-internet"
name = "websearch"
placeholder = "Websearch"

[[builtins.websearch.entries]]
name = "Google"
url = "https://www.google.com/search?q=%TERM%"

[[builtins.websearch.entries]]
name = "DuckDuckGo"
url = "https://duckduckgo.com/?q=%TERM%"
switcher_only = true

[[builtins.websearch.entries]]
name = "Ecosia"
url = "https://www.ecosia.org/search?q=%TERM%"
switcher_only = true

[[builtins.websearch.entries]]
name = "Yandex"
url = "https://yandex.com/search/?text=%TERM%"
switcher_only = true

[builtins.dmenu]
hidden = true
weight = 5
name = "dmenu"
placeholder = "Dmenu"
switcher_only = true
show_icon_when_single = true

[builtins.translation]
delay = 1000
weight = 5
name = "translation"
icon = "accessories-dictionary"
placeholder = "Translation"
switcher_only = true
provider = "googlefree"

ArchGalileu avatar Aug 05 '25 05:08 ArchGalileu

I had the same issue yesterday but it was my fault: I've definded the binding for walker also in my personal config (~/.config/hypr/bindings.conf). At the end bindd = SUPER, SPACE was defined twice, in the default Omarchy config and in my personal config. Then it was also just flickering but calling from the console worked fine. Solution was to unbind it first with unbind = SUPER, SPACE and rebind it afterwards in my personal config.

HegewaldK avatar Aug 07 '25 06:08 HegewaldK

This is fixed in the latest walker.

dhh avatar Aug 07 '25 09:08 dhh

Thanks @ArchGalileu this config fixed walker for me

med502 avatar Aug 07 '25 09:08 med502

That's most likely cuz of close_when_open = false, which is true in omarchy by default. If i was you i'd rather investigate why you are opening walker twice, potentially same issue as here https://github.com/basecamp/omarchy/issues/478#issuecomment-3162646478

abenz1267 avatar Aug 07 '25 09:08 abenz1267