Steps to reproduce:
1. Open PB.
2. Make sure the "Run only one instance" box is checked.
3. Navigate your file manager of choice to a folder where you have a .pb file.
4. Press enter on it.
The IDE opens the file, but it doesn't take foreground focus, like is common behavior with text and code editors. Do this same test with, for example, notepad++, you'll see what I'm after.
The current behavior is woefully inconvenient for screen reader users, and I imagine to a lesser extent sighted users as well.
It would be great if this could be looked into.
Thanks!
Windows: opening a .pb file from Explorer when the IDE is already open doesn't make it take foreground focus
Re: Windows: opening a .pb file from Explorer when the IDE is already open doesn't make it take foreground focus
Hi,
Try unchecking Memorize Windows positions in General preferences
Gérard
Try unchecking Memorize Windows positions in General preferences
Gérard
■ Win10 64-bit (Intel Celeron CPU N2920 @ 1.86GHz, 4,0GB RAM, Intel HD Graphics) & PB 6.00 LTS
■ Vivre et laisser vivre.
■ PureBasic pour le fun
■ cage sur le forum Français
■ Mes sites: http://pbcage.free.fr - http://yh.toolbox.free.fr
■ Vivre et laisser vivre.
■ PureBasic pour le fun
■ cage sur le forum Français
■ Mes sites: http://pbcage.free.fr - http://yh.toolbox.free.fr
Re: Windows: opening a .pb file from Explorer when the IDE is already open doesn't make it take foreground focus
I can reproduce it.
PB6.03 b5 x64, Win10.
The file still opens in the background even with that setting unchecked here, i.e., I still have to alt+tab into the IDE after pressing enter on the .pb file in Explorer.Gérard wrote: Wed Sep 06, 2023 10:22 pm Try unchecking Memorize Windows positions in General preferences
PB6.03 b5 x64, Win10.
Re: Windows: opening a .pb file from Explorer when the IDE is already open doesn't make it take foreground focus
It works for me in version 6.00 LTS, or I don't understand your problem.
If I launch PB and select a pb file in explorer, it opens in the IDE and the tab has focus.
If the IDE is not in the foreground, then it comes to the foreground as desired.
If I minimize the IDE to the taskbar before opening a pb file, the IDE comes to the front with the tab open and with focus.
I tried with several files and it's still good.
Maybe a problem with your version of PB (PB6.03 b5 x64, Win10.)
Gérard
If I launch PB and select a pb file in explorer, it opens in the IDE and the tab has focus.
If the IDE is not in the foreground, then it comes to the foreground as desired.
If I minimize the IDE to the taskbar before opening a pb file, the IDE comes to the front with the tab open and with focus.
I tried with several files and it's still good.
Maybe a problem with your version of PB (PB6.03 b5 x64, Win10.)
Gérard
■ Win10 64-bit (Intel Celeron CPU N2920 @ 1.86GHz, 4,0GB RAM, Intel HD Graphics) & PB 6.00 LTS
■ Vivre et laisser vivre.
■ PureBasic pour le fun
■ cage sur le forum Français
■ Mes sites: http://pbcage.free.fr - http://yh.toolbox.free.fr
■ Vivre et laisser vivre.
■ PureBasic pour le fun
■ cage sur le forum Français
■ Mes sites: http://pbcage.free.fr - http://yh.toolbox.free.fr
-
- Enthusiast
- Posts: 112
- Joined: Wed May 13, 2009 8:38 am
- Location: Arizona, USA
Re: Windows: opening a .pb file from Explorer when the IDE is already open doesn't make it take foreground focus
Issue confirmed using 6.03 beta 5. My steps to reproduce this issue listed below.
1. Open PB IDE Preferences Memorize Window positions -> Unchecked
2. If setting changed click Apply, click OK then exit IDE.
3. Open explorer and double click on .pb file -> PureBasic IDE Window opens in front.
4. Click on Explorer icon in Taskbar -> Explorer Window to front.
5. Double click on .pb file -> PureBasic Window in back with PB taskbar icon flashing.
1. Open PB IDE Preferences Memorize Window positions -> Unchecked
2. If setting changed click Apply, click OK then exit IDE.
3. Open explorer and double click on .pb file -> PureBasic IDE Window opens in front.
4. Click on Explorer icon in Taskbar -> Explorer Window to front.
5. Double click on .pb file -> PureBasic Window in back with PB taskbar icon flashing.
Re: Windows: opening a .pb file from Explorer when the IDE is already open doesn't make it take foreground focus
On both 6.00 and 6.02, unchecking that didn't do it for me, either.
Yup, this is what happens for me, too.GoodNPlenty wrote: Thu Sep 07, 2023 5:29 pm Issue confirmed using 6.03 beta 5. My steps to reproduce this issue listed below.
1. Open PB IDE Preferences Memorize Window positions -> Unchecked
2. If setting changed click Apply, click OK then exit IDE.
3. Open explorer and double click on .pb file -> PureBasic IDE Window opens in front.
4. Click on Explorer icon in Taskbar -> Explorer Window to front.
5. Double click on .pb file -> PureBasic Window in back with PB taskbar icon flashing.