Feature #176
Subtle does not honor 'Always on Top' set by the client
0%
Description
Hello,
I set the Stick and Float properties to true for the VLC client, the VLC is also configured to be Always on Top, and I have this code in my subtle.rb
grab 'A-Tab' do                                                                                                                                                                                             
  clients = Subtlext::View.current.clients                                                                                                                                                                  
  selected = clients.select { |c| c.has_focus? }.first                                                                                                                                                      
  index = clients.index(selected)                                                                                                                                                                           
  index += 1                                                                                                                                                                                                
  index = 0 if index > clients.size - 1                                                                                                                                                                     
  clients[index].focus                                                                                                                                                                                      
end                                                                                                                                                                                                         
	Which helps me toggle client focus, however when I change the focus of the client given that VLC and another client are on the same view, the VLC windows goes behind the one that has focus now..
Related issues
History
#1
    
    Updated by Christoph Kappel almost 15 years ago
    
    - Status changed from Unconfirmed to Confirmed
 
Yep, subtle currently ignores that. I will add it tomorrow.
#2
    
    Updated by Wael Nasreddine almost 15 years ago
    
    Christoph Kappel wrote:
Yep, subtle currently ignores that. I will add it tomorrow.
Thank you, I appreciate it :)
#3
    
    Updated by Christoph Kappel almost 15 years ago
    
    Hm, VLC menus don't work for me. Can you set VLC to the 'Always on Top' mode and post the output of xprop for the VLC window?
#4
    
    Updated by Christoph Kappel almost 15 years ago
    
    - Status changed from Confirmed to Feedback
 
#5
    
    Updated by Wael Nasreddine almost 15 years ago
    
    Christoph Kappel wrote:
Hm, VLC menus don't work for me. Can you set VLC to the 'Always on Top' mode and post the output of xprop for the VLC window?
Of course,
here you go => http://pastie.org/1476994
#6
    
    Updated by Wael Nasreddine almost 15 years ago
    
    Wael Nasreddine wrote:
Christoph Kappel wrote:
Hm, VLC menus don't work for me. Can you set VLC to the 'Always on Top' mode and post the output of xprop for the VLC window?
Of course,
here you go => http://pastie.org/1476994
I think it's the property:
_NET_WM_STATE(ATOM) = _NET_WM_STATE_ABOVE
#7
    
    Updated by Christoph Kappel almost 15 years ago
    
    Nope, that is the state subtle sets to the window when you enable floating mode. A client mustn't set _NET_WM_STATE itself. I will check why I get no menus in VLC then.
#8
    
    Updated by Wael Nasreddine almost 15 years ago
    
    Christoph Kappel wrote:
Nope, that is the state subtle sets to the window when you enable floating mode. A client mustn't set _NET_WM_STATE itself. I will check why I get no menus in VLC then.
Hey Christoph
I didn't understand which menus you mean ? the File, Edit etc.. menus ? If that's the case and they are not showing up, try resetting VLC settings
$ killall vlc && mv ~/.config/vlc{,-old}
	It should bring the menus back, if for some reason they are still not showing up, it might means that VLC was compile without WxGTK support
#9
    
    Updated by Christoph Kappel about 14 years ago
    
    - Status changed from Feedback to Fixed
 
Since r2987 all floating windows stay on top and cannot be lowered under gravity windows anymore. I would say this issue is fixed.