-
Notifications
You must be signed in to change notification settings - Fork 49
[tabbed-layout] tab-bar disappearing when switching workspaces (tags) on another monitor #163
Comments
Turned out setting the visibility to true introduced a weird issue... here's what I have so far and it seems to work local layout = require( "awful.layout" )
local function adjust_visiblity( t )
local name = layout.getname( layout.get( s ) )
s.tabbar.visible = (name == mylayout.name)
end |
Maybe checking whether the tags screen (the screen of the tag currently being examined in - s.tabbar.visible = (#t:clients() - t.master_count > 1) and (t.layout.name == mylayout.name)
+ s.tabbar.visible = (t.screen == s) and (#t:clients() - t.master_count > 1) and (t.layout.name == mylayout.name)
|
I'm using this approach and i haven't encountered a bug yet. @Nooo37 s proposal is not working for me. |
Epic, @ad-on-is do you want to PR your fix? |
The create PR button is disabled for me here, but feel free to do it yourself with the code above. Btw. it's still running without any issues, even switching to another tag, where tabbed is set as layout, the tabbar changes accordingly. |
Huh, the PR button is disabled for you? Is that because of our repo settings or is it on you? Haven't heard of such a thing here before and PRs should be fine from our side. Otherwise I'll patch your fix in there |
I'm encountering a strange behavior with my multi-monitor setup (laptop + 3 external monitors)
Steps to reproduce
EDIT:
After inspecting the code, I modified mstab.lua as follows
Are there any side-effects to this?
The text was updated successfully, but these errors were encountered: