Re: Change browser in MacOS

From: Patrick De Visschere <pdvisschere(at)edpnet(dot)be>
To: Dave Page <dpage(at)pgadmin(dot)org>
Cc: "pgadmin-support(at)lists(dot)postgresql(dot)org" <pgadmin-support(at)lists(dot)postgresql(dot)org>
Subject: Re: Change browser in MacOS
Date: 2019-01-11 12:52:34
Message-ID: F64F84A8-EF8E-40DC-B5CA-DDEB5DC7192F@edpnet.be
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

Dave,

I removed all pgadmin-related .plist’s file in ~/Library.
When starting the server my modified Browser command was still present (but no .plist file).
I shutted down/started it up several times, logged out and in, still no .plist file: the Browser command is stored somewhere else. I couldn’t find it, it’s not in my user directory, maybe in a (python) cache somewhere.

Only when I modified the Browser command, an org.pgadmin.pgadmin4.plist file was created. It looks very much like the previous one but now has an entry with the Browser command:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>ApplicationPath</key>
<string></string>
<key>Browser.Geometry</key>
<data>
...
</data>
<key>Browser.LastSaveLocation</key>
<string>...</string>
<key>Browser.WindowState</key>
<data>
...
</data>
<key>BrowserCommand</key>
<string>open -a /Applications/Safari.app %URL%</string>
<key>FixedPort</key>
<false/>
<key>NSNavLastRootDirectory</key>
<string>~/Downloads</string>
<key>NSNavPanelExpandedSizeForSaveMode</key>
<string>...</string>
<key>NSStatusItem Preferred Position Item-0</key>
<real>...</real>
<key>PortNumber</key>
<integer>1</integer>
<key>PythonPath</key>
<string></string>
</dict>
</plist>

I hope it’ll stick now.

Thanks

P. De Visschere

> On 10 Jan 2019, at 05:58, Dave Page <dpage(at)pgadmin(dot)org> wrote:
>
> Hi
>
> On Wed, Jan 9, 2019 at 1:37 AM Patrick De Visschere <pdvisschere(at)edpnet(dot)be <mailto:pdvisschere(at)edpnet(dot)be>> wrote:
> Dave,
>
> Thanks but this is my ~/Library/Preferences/org.pgadmin.pgadmin4.plist with the Browser command filled in
> (I have removed the content of the data tags)
>
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd <http://www.apple.com/DTDs/PropertyList-1.0.dtd>">
> <plist version="1.0">
> <dict>
> <key>Browser.Geometry</key>
> <data>
>
> </data>
> <key>Browser.LastSaveLocation</key>
> <string></string>
> <key>Browser.WindowState</key>
> <data>
>
> </data>
> <key>NSNavLastRootDirectory</key>
> <string></string>
> <key>NSNavPanelExpandedSizeForSaveMode</key>
> <string></string>
> <key>NSStatusItem Preferred Position Item-0</key>
> <real></real>
> </dict>
> </plist>
>
> I don’t see the command.
>
> That looks like a file from version 1 - well, the first couple of sections. The last section doesn't match anything in pgAdmin's history.
>
> I would suggest renaming the file and letting pgAdmin recreate it. I would expect a version 3 file to be binary and require editing directly in xcode.
>
> --
> Dave Page
> Blog: http://pgsnake.blogspot.com <http://pgsnake.blogspot.com/>
> Twitter: @pgsnake
>
> EnterpriseDB UK: http://www.enterprisedb.com <http://www.enterprisedb.com/>
> The Enterprise PostgreSQL Company

In response to

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Mike Martin 2019-01-11 13:17:05 Issues with results grid with pgadmin4-4
Previous Message Khushboo Vashi 2019-01-11 09:29:45 Re: BUG: pgAdmin 4 version 4.0