Page 2 of 2

Re: PB64 IDE 5.7b1 Autocomplete window in the wrong place

Posted: Thu Apr 18, 2019 10:51 am
by mk-soft
No problem here.
Window 7 Pro, Windows 10 Pro (1803)

Perhaps renew your PureBasic.pref file

Re: PB64 IDE 5.7b1 Autocomplete window in the wrong place

Posted: Thu Apr 18, 2019 4:55 pm
by Lord
Hi mk-soft!
mk-soft wrote:...
Perhaps renew your PureBasic.pref file
That works, but all changes in in preferences are gone.
So the question is, which entry in the used prefs has to be
changed to get auto complete postion working.

The only difference in [AutoComplete] part of prefs is:
my old prefs wrote:Width =150
Height = 200
new (working) prefs wrote:Width =230
Height = 300
Changing these entries doesn't have any effect.

Which else entries have to be changed to get a working auto complete
with the old prefs file? I want to preserve all other settings.

Re: PB64 IDE 5.7b1 Autocomplete window in the wrong place

Posted: Thu Apr 18, 2019 6:22 pm
by mk-soft
Export the settings from the defective pref-file, then import them into your new pref-file.

Re: PB64 IDE 5.7b1 Autocomplete window in the wrong place

Posted: Thu Apr 18, 2019 6:47 pm
by Lord
mk-soft wrote:Export the settings from the defective pref-file, then import them into your new pref-file.
This didn't work.
Autocomplete-dropdown is on the right place now, but all other
settings are gone (language, theme, tools panel, folding, selected font, ...).

Until now I always copied *.prefs from previous versions of PB into the new
program folder. There was never a problem with this procedure.

Re: PB64 IDE 5.7b1 Autocomplete window in the wrong place

Posted: Thu Apr 18, 2019 8:16 pm
by mk-soft
There is the item export under settings.
First export the settings from the defective pref file.

Then remove the defective file and let Purebaic create a new one.
Then import the settings again.

Not all settings can be exported.

If it doesn't work like this, the file was already too badly damaged.

Re: PB64 IDE 5.7b1 Autocomplete window in the wrong place

Posted: Fri Apr 19, 2019 8:43 am
by Lord
So the question still stands:
Which entry has to be changed to get the old prefs file to work again?

Re: PB64 IDE 5.7b1 Autocomplete window in the wrong place

Posted: Fri Apr 19, 2019 9:15 am
by Lord
I just tested this:

I copied the "defective" prefs file from PB5.70LTS(x64) to PB5.62(x64).
Result: Autocomplete dropdown is showing up in PB5.70 just under the
actual line as it should.

The only difference in the prefs after closing PB is an extra entry
"DPIAware = 0" (and of course the version number).

What does this tell me?

Re: PB64 IDE 5.7b1 Autocomplete window in the wrong place

Posted: Fri Apr 19, 2019 11:19 am
by mk-soft
This can only analyze Fred with the unchanged file.
It can also be that the invisible characters or control characters have crept in.

Just try to copy the contents of the file into a new one to keep all settings.

Re: PB64 IDE 5.7b1 Autocomplete window in the wrong place

Posted: Fri Apr 19, 2019 12:54 pm
by Lord
mk-soft wrote:...
It can also be that the invisible characters or control characters have crept in.
...
I didn't find any "suspect" character in hex mode of UEdit.
mk-soft wrote:...
Just try to copy the contents of the file into a new one to keep all settings.
That's what I already did.
In PB5.70LTS such prefs file shows autocomplete far right, prior to PB5.70 this same
prefs file works flawlessly.
It looks like - in my opinion - that since 5.70 something went wrong. As you remember,
the beta versions started with problems with autocomplete dropdown.

Re: PB64 IDE 5.7b1 Autocomplete window in the wrong place

Posted: Fri Apr 19, 2019 3:53 pm
by Fred
Could you post your faulty pref file somwhere so I can take a look ?

Re: PB64 IDE 5.7b1 Autocomplete window in the wrong place

Posted: Fri Apr 19, 2019 4:45 pm
by Lord
Fred wrote:Could you post your faulty pref file somwhere so I can take a look ?
See PM. :wink: