[5.40LTS] OpenFileRequester title missing

Mac OSX specific forum
WilliamL
Addict
Addict
Posts: 1215
Joined: Mon Aug 04, 2008 10:56 pm
Location: Seattle, USA

[5.40LTS] OpenFileRequester title missing

Post by WilliamL »

I've noticed that when I use the

Code: Select all

Filename$ = OpenFileRequester(Title$, DefaultFile$, Pattern$, PatternPosition [, Flags])
I don't see the Title$ in the input window and I have 'New Folder' button at the bottom left of the window. If you select the file you're interested in and hit the 'Open' button the file name is returned correctly. I guess the whole title area above the 'Options Bar' is missing.

The SaveFileRequester() seems to be ok.
MacBook Pro-M1 (2021), Sonoma 14.3.1 (CLT 15.3), PB 6.10b7 M1
IdeasVacuum
Always Here
Always Here
Posts: 6425
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: [5.40LTS] OpenFileRequester title missing

Post by IdeasVacuum »

Confirm that OpenFileRequester() works correctly on Windows OS (Win7 x86, PB5.41 B1)
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
User avatar
thinkitsimple
User
User
Posts: 89
Joined: Mon Aug 13, 2012 6:12 pm
Location: Berlin, Germany
Contact:

Re: [5.40LTS] OpenFileRequester title missing

Post by thinkitsimple »

Thats what i posted already here, but i did not get an answer...

http://www.purebasic.fr/english/viewtop ... 19&t=63854
Michael

PureBasic 5.51, macOS 10.12.2 Sierra
deeproot
Enthusiast
Enthusiast
Posts: 269
Joined: Thu Dec 17, 2009 12:00 pm
Location: Llangadog, Wales, UK
Contact:

Re: [5.40LTS] OpenFileRequester title missing

Post by deeproot »

Title appears to be shown OK running under Snow Leopard, 10.6.8 x86, 5.40LTS. Maybe a problem for later OS or x64?

I've only got that one OSX system - needs further checks.
User avatar
bbanelli
Enthusiast
Enthusiast
Posts: 543
Joined: Tue May 28, 2013 10:51 pm
Location: Europe
Contact:

Re: [5.40LTS] OpenFileRequester title missing

Post by bbanelli »

Could not confirm on 10.10.5, works fine on both x86 and x64 version.
"If you lie to the compiler, it will get its revenge."
Henry Spencer
https://www.pci-z.com/
User avatar
thinkitsimple
User
User
Posts: 89
Joined: Mon Aug 13, 2012 6:12 pm
Location: Berlin, Germany
Contact:

Re: [5.40LTS] OpenFileRequester title missing

Post by thinkitsimple »

Well, as William and i said, this happens on OS X 10.11.x
Michael

PureBasic 5.51, macOS 10.12.2 Sierra
WilliamL
Addict
Addict
Posts: 1215
Joined: Mon Aug 04, 2008 10:56 pm
Location: Seattle, USA

Re: [5.40LTS] OpenFileRequester title missing

Post by WilliamL »

@thinksimple

Thanks for your input and I see that you posted it in the MacOS forum a week or so ago.

I was admonished, recently, by Fred that bugs had to be in the bugs section. :oops:

I have to admit I never thought to look for your report in the MacOS forum.
MacBook Pro-M1 (2021), Sonoma 14.3.1 (CLT 15.3), PB 6.10b7 M1
User avatar
thinkitsimple
User
User
Posts: 89
Joined: Mon Aug 13, 2012 6:12 pm
Location: Berlin, Germany
Contact:

Re: [5.40LTS] OpenFileRequester title missing

Post by thinkitsimple »

Next time i will post such things in the bug forum.

But before it is confirmed by another user, i thought it was a good place to post in the os x forum.
Michael

PureBasic 5.51, macOS 10.12.2 Sierra
WilliamL
Addict
Addict
Posts: 1215
Joined: Mon Aug 04, 2008 10:56 pm
Location: Seattle, USA

Re: [5.40LTS] OpenFileRequester title missing

Post by WilliamL »

Hey, Michael, I'm with you! It's possible to post something that you just overlooked and isn't a bug at all! I wonder that every time until someone else posts an affirmation (and I thank you for that). Some time ago a bug was posted and several people affirmed the bug and Fred got somewhat miffed that so many were chiming in. Well, anyway, Fred said he didn't read any other forum (other than the bugs forum) when it came time to fix the bugs. Interesting fact...
MacBook Pro-M1 (2021), Sonoma 14.3.1 (CLT 15.3), PB 6.10b7 M1
User avatar
thinkitsimple
User
User
Posts: 89
Joined: Mon Aug 13, 2012 6:12 pm
Location: Berlin, Germany
Contact:

Re: [5.40LTS] OpenFileRequester title missing

Post by thinkitsimple »

Just to be sure that my bug is also noticed by Fred:

It is not just the OpenFileRequester, the PathRequester has the same problem.
Michael

PureBasic 5.51, macOS 10.12.2 Sierra
User avatar
mk-soft
Always Here
Always Here
Posts: 5335
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: [5.40LTS] OpenFileRequester title missing

Post by mk-soft »

I think is not a bug, it´s normal on El Capitan.

All Apps don´t have a FileOpen titel...
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
WilliamL
Addict
Addict
Posts: 1215
Joined: Mon Aug 04, 2008 10:56 pm
Location: Seattle, USA

Re: [5.40LTS] OpenFileRequester title missing

Post by WilliamL »

I suppose it is not a bug but a change in El Capitan that will have to be addressed if we want the title back.
MacBook Pro-M1 (2021), Sonoma 14.3.1 (CLT 15.3), PB 6.10b7 M1
wilbert
PureBasic Expert
PureBasic Expert
Posts: 3870
Joined: Sun Aug 08, 2004 5:21 am
Location: Netherlands

Re: [5.40LTS] OpenFileRequester title missing

Post by wilbert »

WilliamL wrote:I suppose it is not a bug but a change in El Capitan that will have to be addressed if we want the title back.
It could be a choice Apple made or an OSX 10.11 bug.
The message property of a NSOpenPanel is still available to communicate some kind of message but unfortunately PB doesn't support this.
Windows (x64)
Raspberry Pi OS (Arm64)
Fred
Administrator
Administrator
Posts: 16622
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: [5.40LTS] OpenFileRequester title missing

Post by Fred »

It seems a genuine change in OS X 10.11, so we can't workaround it. I just tried the 'message' property, but it does not look very good. I think we will have to live with this !
WilliamL
Addict
Addict
Posts: 1215
Joined: Mon Aug 04, 2008 10:56 pm
Location: Seattle, USA

Re: [5.40LTS] OpenFileRequester title missing

Post by WilliamL »

Well, so now we don't have titles in the OpenFileRequester. I really used the titles to instruct what to load and now I am left guessing (when I have a series of files to load). I looked at TextEdit and, sure enough, the titles are gone.

I'm wondering how to give the information that should be in the OpenFileRequester? Am I going to have to use a MessageRequester just before the OpenFileRequester just to give instructions. :shock:

I really don't see any way around the situation but I'd like to hear any suggestions.
MacBook Pro-M1 (2021), Sonoma 14.3.1 (CLT 15.3), PB 6.10b7 M1
Post Reply