Message/warning popup tooltips disappears quickly

2 Ansichten (letzte 30 Tage)
Shivam Kalra
Shivam Kalra am 26 Feb. 2016
Kommentiert: Erik Faulhaber am 13 Dez. 2019
Image showing the disappearing popup tooltip for warning message within the code.
Matlab Version: 2015b
Windows Manager: Awesome WM
OS: Linux ~HOST~ 4.4.1-2-ARCH #1 SMP PREEMPT Wed Feb 3 13:12:33 UTC 2016 x86_64 GNU/Linux

Akzeptierte Antwort

Han ZHANG
Han ZHANG am 1 Apr. 2016
Hello. I have the same problem and it may be caused by focus being stealed by tooltips. Adding rule
{ rule = { },
propertities = {
focus = false
} },
may help. I don't know how to limit the range of rule to tooltip so I have to set focus to false globally. There may be a better solution.
  2 Kommentare
Shivam Kalra
Shivam Kalra am 1 Apr. 2016
Thanks Han. Focus seems to be the problem. However, I put the following code in my rc.lua to fix it without loosing the ability to loose focus on other windows.
_old_filter = awful.client.focus.filter
awful.client.focus.filter = function(c)
if c.type == 'dialog' and string.match(c.class, 'MATLAB') then
return nil
end
return _old_filter(c)
end
Erik Faulhaber
Erik Faulhaber am 13 Dez. 2019
An elegant solution using an awesome wm rule:
{ rule = { class = "MATLAB", type = "dialog" },
properties = { focus = false }
},

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (1)

Rohit Jain
Rohit Jain am 2 Mär. 2016
It looks like Arch Linux is not officially supported by MathWorks. Hence the behavior might not be tested on it. Below link specifies the supported Linux versions for R2015b:
Have you observed this behavior in one of the supported Linux distributions?
  1 Kommentar
Shivam Kalra
Shivam Kalra am 2 Mär. 2016
Thanks for the reply. No, I've not tested it on any of the supported distributions. Do you think my window manager could cause this issue (I do not have any composting enabled)?

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Variables finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by