Message/warning popup tooltips disappears quickly

조회 수: 8 (최근 30일)
Shivam Kalra
Shivam Kalra 2016년 2월 26일
댓글: Erik Faulhaber 2019년 12월 13일
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

채택된 답변

Han ZHANG
Han ZHANG 2016년 4월 1일
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
Shivam Kalra
Shivam Kalra 2016년 4월 1일
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 2019년 12월 13일
An elegant solution using an awesome wm rule:
{ rule = { class = "MATLAB", type = "dialog" },
properties = { focus = false }
},

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Rohit Jain
Rohit Jain 2016년 3월 2일
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
Shivam Kalra
Shivam Kalra 2016년 3월 2일
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)?

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Database Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by