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

Menubar not capable of spawning at the initial tag (when a programs takes long to load) #3974

Open
RobberFox opened this issue Nov 27, 2024 · 3 comments

Comments

@RobberFox
Copy link

awesome v4.3 (Too long)
 • Compiled against Lua 5.3.6 (running with Lua 5.3)
 • D-Bus support: ✔
 • execinfo support: ✔
 • xcb-randr version: 1.6LGI version: 0.9.2

How to reproduce the issue:
With menubar, open an app that takes long to load.
Switch to a different tag.

Actual result:
The program will spawn at that different tag, instead of the tag I started spawning in.

Expected result:
It would be great to have an option to allow menubar to keep the program at the tag I started spawning in, just like with awful.spawn("someprogram", { tag = mouse.screen.selected_tag })

@actionless
Copy link
Member

i think it could be related to this: https://github.com/awesomeWM/awesome/issues?q=is%3Aissue+startup_id

@Aire-One
Copy link
Member

Aire-One commented Dec 3, 2024

My understanding is that @RobberFox needs a way to specify the sn_rules passed to the spawn command https://github.com/awesomeWM/awesome/blob/master/lib%2Fmenubar%2Finit.lua#L211

@actionless
Copy link
Member

ah, i thought his problem that he did that change but client is not being moved to that tag

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants