PB64 IDE 5.7b1 Autocomplete window in the wrong place

Post bugs related to the IDE here
User avatar
mk-soft
Always Here
Always Here
Posts: 5335
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

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

Post by mk-soft »

No problem here.
Window 7 Pro, Windows 10 Pro (1803)

Perhaps renew your PureBasic.pref file
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
User avatar
Lord
Addict
Addict
Posts: 847
Joined: Tue May 26, 2009 2:11 pm

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

Post 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.
Image
User avatar
mk-soft
Always Here
Always Here
Posts: 5335
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

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

Post by mk-soft »

Export the settings from the defective pref-file, then import them into your new pref-file.
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
User avatar
Lord
Addict
Addict
Posts: 847
Joined: Tue May 26, 2009 2:11 pm

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

Post 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.
Image
User avatar
mk-soft
Always Here
Always Here
Posts: 5335
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

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

Post 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.
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
User avatar
Lord
Addict
Addict
Posts: 847
Joined: Tue May 26, 2009 2:11 pm

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

Post by Lord »

So the question still stands:
Which entry has to be changed to get the old prefs file to work again?
Image
User avatar
Lord
Addict
Addict
Posts: 847
Joined: Tue May 26, 2009 2:11 pm

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

Post 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?
Image
User avatar
mk-soft
Always Here
Always Here
Posts: 5335
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

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

Post 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.
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
User avatar
Lord
Addict
Addict
Posts: 847
Joined: Tue May 26, 2009 2:11 pm

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

Post 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.
Image
Fred
Administrator
Administrator
Posts: 16617
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

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

Post by Fred »

Could you post your faulty pref file somwhere so I can take a look ?
User avatar
Lord
Addict
Addict
Posts: 847
Joined: Tue May 26, 2009 2:11 pm

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

Post by Lord »

Fred wrote:Could you post your faulty pref file somwhere so I can take a look ?
See PM. :wink:
Image
Post Reply