detached 0650709

test(stress): satisfy GTK stress lint

commit
0650709eed6ffe3bcd90ae59d0aa12f52b7f1a63
author
brice · · 2026-07-14 07:24 UTC
committer
brice · · 2026-07-14 09:32 UTC
parent
7e499de
signature
GPG VerifiedCD88F9E564E0102646FB6077A1A07C7C7C3E349D · arch-gpg Verified for the committer email
1 file · +3 -3
M internal/ui/component/omnibox_callback_pressure_stress_test.go +3 -3
@@ -87,7 +87,7 @@ func runGTKCallbackLifecycleStressOnMain(t *testing.T, mainContext *glib.MainCon
8787 enterID := controller.ConnectEnter(&enter)
8888 leaveID := controller.ConnectLeave(&leave)
8989 assertMainContextOwner()
90- pane.Widget.AddController(&controller.EventController)
90+ pane.AddController(&controller.EventController)
9191
9292 // Invoke the real connected handler functions in GTK enter/leave order
9393 // while the alternate pane is closed and the workspace rebuilt.
@@ -97,10 +97,10 @@ func runGTKCallbackLifecycleStressOnMain(t *testing.T, mainContext *glib.MainCon
9797 tick := gtk.TickCallback(func(uintptr, uintptr, uintptr) bool { return false })
9898 tickCallback := glib.NewCallback(&tick)
9999 assertMainContextOwner()
100- tickID := pane.Widget.AddTickCallback(&tick, 0, nil)
100+ tickID := pane.AddTickCallback(&tick, 0, nil)
101101 require.NotZero(t, tickID)
102102 assertMainContextOwner()
103- pane.Widget.RemoveTickCallback(tickID)
103+ pane.RemoveTickCallback(tickID)
104104 require.NoError(t, purego.UnrefCallback(tickCallback), "raw tick slot must be released after GTK removal")
105105
106106 assertMainContextOwner()
@@ -87,7 +87,7 @@ func runGTKCallbackLifecycleStressOnMain(t *testing.T, mainContext *glib.MainCon
87 enterID := controller.ConnectEnter(&enter)87 enterID := controller.ConnectEnter(&enter)
88 leaveID := controller.ConnectLeave(&leave)88 leaveID := controller.ConnectLeave(&leave)
89 assertMainContextOwner()89 assertMainContextOwner()
90- pane.Widget.AddController(&controller.EventController)90+ pane.AddController(&controller.EventController)
91 91
92 // Invoke the real connected handler functions in GTK enter/leave order92 // Invoke the real connected handler functions in GTK enter/leave order
93 // while the alternate pane is closed and the workspace rebuilt.93 // while the alternate pane is closed and the workspace rebuilt.
@@ -97,10 +97,10 @@ func runGTKCallbackLifecycleStressOnMain(t *testing.T, mainContext *glib.MainCon
97 tick := gtk.TickCallback(func(uintptr, uintptr, uintptr) bool { return false })97 tick := gtk.TickCallback(func(uintptr, uintptr, uintptr) bool { return false })
98 tickCallback := glib.NewCallback(&tick)98 tickCallback := glib.NewCallback(&tick)
99 assertMainContextOwner()99 assertMainContextOwner()
100- tickID := pane.Widget.AddTickCallback(&tick, 0, nil)100+ tickID := pane.AddTickCallback(&tick, 0, nil)
101 require.NotZero(t, tickID)101 require.NotZero(t, tickID)
102 assertMainContextOwner()102 assertMainContextOwner()
103- pane.Widget.RemoveTickCallback(tickID)103+ pane.RemoveTickCallback(tickID)
104 require.NoError(t, purego.UnrefCallback(tickCallback), "raw tick slot must be released after GTK removal")104 require.NoError(t, purego.UnrefCallback(tickCallback), "raw tick slot must be released after GTK removal")
105 105
106 assertMainContextOwner()106 assertMainContextOwner()

Keyboard shortcuts

Single-key shortcuts are on. ctrl k and esc work whatever this says.

ctrl k :
go to a section, branch, tag, file or repository
?
this list
j k
move the row cursor down / up
enter
open the row under the cursor; on Files, a directory opens or closes in place
↑ ↓ ← → home end
in the file tree (focus on a row): previous / next row, close / open a directory or go to its parent / first entry, first / last row. They never open a file
l h
on Files: open a directory or a file / close a directory or go up to its parent, then to the parent page. Elsewhere: into the side panel (on a merge request, its files) / back to the content; there j k move between its controls
g g G
first / last row
/
filter the list; on Files, find a file anywhere in the repository (esc clears, enter opens the best match)
b
switch branch or tag
g s g f g c g b g m g i g r g a
tabs: summary, files, commits, branches & tags, merge requests, issues, releases, actions (when available)
g h
home
w
wide mode: use the whole width of the screen, or not (remembered)
y
copy a permalink pinned to the commit
d u x
diff: split / unified / collapse or expand all
e E
diff: the whole file in view / every file, with the lines the hunks hide
n
merge request: next note in the diff
esc
close a dialog, leave a field

Branches 8

Tags 42

↑↓ moveenter openesc close