uigetfile DialogTitle does not show in file browser

I am running on Mac OS X 10.11 (El Capitan--the newest)and just upgraded to R2015b. I have old code that makes uigetfile calls, and it ran OK previously. Now the file browser comes up without the DialogTitle displayed--see screenshot of example using the exact call from the uigetfile documentation. I suspect there is a preference setting somewhere that needs to be reset, but I cannot find any such reference, or any other report of this problem. Any advice on solving this problem is appreciated.

5 comentarios

Emil
Emil el 28 de Oct. de 2015
Im also having this problem with dialog titles with el capitan/2015b. It seems there are more applications who suffer similar problems (https://forums.zotero.org/discussion/52710/no-menu-bar-after-el-capitan-upgrade-zotero-standalone/)
It may have something to do with the new graphics with split screen option. But I have no luck yet on finding a solution.
Gary Jahns
Gary Jahns el 28 de Oct. de 2015
Emil, thanks for your comment. Per the association with the split screen option, I tried again with only one screen, but the problem is still there. I have filed a bug report with MathWorks and they acknowledge that it is a bug. Unfortunately, I was told the development team "might consider including a patch for this bug in a future release." So I am looking for a workaround.
It seems like this is a change Apple made with v10.11. Browsing for files in Pages, Numbers, etc--no title. I have posted a question on the Apple Community support site to see if anyone knows how this can be reset. Emil: I read your link but am not brave enough to guess at the equivalent Matlab file to delete.
Dan
Dan el 16 de Mzo. de 2016
Any more information on this?
Dan
Wouter
Wouter el 20 de Oct. de 2016
I am running into the same problem on mac 10.11.6 with Matlab version 2016b. Does anybody have a workaround for this?

Iniciar sesión para comentar.

 Respuesta aceptada

Gary Jahns
Gary Jahns el 28 de Oct. de 2015
MathWorks has acknowledged that this is a bug (Tech. Support Case #01573596).

1 comentario

Joan
Joan el 27 de Dic. de 2015
Until they address this case#, has a workaround been found?

Iniciar sesión para comentar.

Más respuestas (5)

Frederic
Frederic el 12 de Abr. de 2016
I updated to R2016a but I have the same bug. Any help ? Frederic

1 comentario

Gary Jahns
Gary Jahns el 22 de Abr. de 2016
My only suggestion is that everyone for whom this is a problem ping Mathworks, cite the case number (01573596), and ask when they expect to address it.

Iniciar sesión para comentar.

Gustavo Liñan
Gustavo Liñan el 8 de Jul. de 2016
It's real nightmare when we, as matlab users, update to a new OSX version.
I recently encountered the problem and submitted a bug report. The response was the issue was an operating system problem, not a MATLAB problem, which means that there probably won't be an official fix. There are several possible workarounds.
  1. You can switch over to an alternative file selector, such as uipickfiles
  2. You could copy the private function uigetfile_deprecated (located in the uitools directory) to a convenient location on your machine. NOTE: this function may have dependencies...
  3. You could edit the uigetfile function (or a renamed copy) to always call uigetfile_deprecated on Macs.
  4. You could try using the undocumented "feature" command to use the old dialog style
feature('UseOldFileDialogs',1)
In the long term, option 1 is probably the best bet. Maybe someone can figure out what Apple did in the last release that drops dialog titles...
Nimrod
Nimrod el 25 de Jun. de 2019
I do:
f = msgbox('Whatever I wanted to be writen in the title');
uiwait(f);
uigetfile(..)
This way the user has to acknoledge the title before selecting the file or dir
Simon Wanninger
Simon Wanninger el 19 de Dic. de 2019
Hello,
same issues here. Since Catalina other filetypes are not selectable with uigetfile(), which is incredibly annoying. Unfortunately the bug persists in MATLAB2020a. There are other custom functions you can use as a workaround, e.g. uigetfile_with_preview().
Best,
Simon

Categorías

Más información sobre Startup and Shutdown en Centro de ayuda y File Exchange.

Productos

Preguntada:

el 26 de Oct. de 2015

Respondida:

el 19 de Dic. de 2019

Community Treasure Hunt

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

Start Hunting!

Translated by