Page 1 of 1

Help file -> cannot access topic from the IDE

Posted: Sat Aug 22, 2015 7:49 am
by Joubarbe
Hi !

When I open the help file from the IDE (F1), I can see the main tabs and their contents : "Contents", "Index" and "Search", but nothing happens when I click on the topics.

When I hit F1 while a key-word is selected, the help file opens and highlights the right topic, but doesn't show the page itself.

- Linux Mint 17.2

(my apologies if it's not considered as a bug !)

Re: Help file -> cannot access topic from the IDE

Posted: Sat Aug 22, 2015 8:46 am
by Little John
Hi!

I tested it with PB 5.31, also on Linux Mint 17.2.
Joubarbe wrote:When I open the help file from the IDE (F1), I can see the main tabs and their contents : "Contents", "Index" and "Search", but nothing happens when I click on the topics.
Works fine here.
Joubarbe wrote:When I hit F1 while a key-word is selected, the help file opens and highlights the right topic, but doesn't show the page itself.
Works fine here, too.

Unfortunately, I don't have an explanation for the different behaviours on our systems.
Maybe you want to try a new, clean installation of PB on your system?

Re: Help file -> cannot access topic from the IDE

Posted: Sat Aug 22, 2015 9:00 am
by Joubarbe
Well, there's not really an "installation" here (I just extracted the PB archive to my home folder). I've also tried to remove .help files, then copy them again ; also switch to the french help file, but it doesn't do anything new, I can't open a single link :(

Re: Help file -> cannot access topic from the IDE

Posted: Sat Aug 22, 2015 9:18 am
by Little John
Joubarbe wrote:Well, there's not really an "installation" here (I just extracted the PB archive to my home folder).
Maybe "installation" is not the correct term, and I should have used a different one instead.
Anyway, it seems that you did understand what I was talking about. :-)

Re: Help file -> cannot access topic from the IDE

Posted: Sat Aug 22, 2015 10:42 am
by Trond
Can you try going into the compilers directory (in a terminal) and type:

Code: Select all

PUREBASIC_HOME="the full path to the purebasic directory (NOT the compilers directory)" ./purebasic
For me:

Code: Select all

cd /home/trond/opt/purebasic/compilers
PUREBASIC_HOME="/home/trond/opt/purebasic" ./purebasic

Re: Help file -> cannot access topic from the IDE

Posted: Sat Aug 22, 2015 10:48 am
by Joubarbe
Hmm, it opens PB, and gives several of this error :

"(purebasic:6681): Gtk-CRITICAL **: IA__gtk_accel_group_connect: assertion 'accel_key > 0' failed"

Re: Help file -> cannot access topic from the IDE

Posted: Sat Aug 22, 2015 1:12 pm
by Trond
When you open the help file from the IDE when it is started this way, does the help file work?

Re: Help file -> cannot access topic from the IDE

Posted: Sat Aug 22, 2015 2:31 pm
by Joubarbe
Nope, sadly !

If I'm not mistaken, it worked the first time I launched PureBasic. Now it's like the help file is stuck, locked to a bugged state, with "Up" and "Back" clickable (it should be greyed when you open the help file).

Re: Help file -> cannot access topic from the IDE

Posted: Mon Aug 24, 2015 8:30 pm
by heartbone
Joubarbe wrote:Nope, sadly !

If I'm not mistaken, it worked the first time I launched PureBasic. Now it's like the help file is stuck, locked to a bugged state, with "Up" and "Back" clickable (it should be greyed when you open the help file).
My (14.04 x86 UBUNTU) help seems to work,
even though in the popup window's initial state,
both the "Up" and Back buttons seem clickable and are not greyed.
So those buttons being clickable may not be symptomatic of a problem in help on Linux.

Re: Help file -> cannot access topic from the IDE

Posted: Mon Aug 24, 2015 9:23 pm
by Trond
Try maximizing/restoring/resizing the window.

If it worked the first time, delete the purebasic preferences. (Close PB. Go into a terminal and type
cd
mv .purebasic .purebasic.old
).

Re: Help file -> cannot access topic from the IDE

Posted: Mon Aug 24, 2015 9:35 pm
by Joubarbe
It worked.

But uh... I loved my preferences :'(

EDIT : Well, I can import my color settings without messing up the help file ; anyway, thanks, that's good enough :)

Re: Help file -> cannot access topic from the IDE

Posted: Tue Aug 25, 2015 11:44 am
by Trond
You could try to delete the [Help] section from the purebasic.prefs file.

Re: Help file -> cannot access topic from the IDE

Posted: Tue Aug 25, 2015 1:48 pm
by Zebuddi123
Hi The problem could be the vertical slider, try pulling the vertical slider to the left. i have found that sometimes it creeps all the way on the right.

Zebuddi. :)