Page 1 of 1

<Alt>+F, "C" to close a file...

Posted: Sun Nov 07, 2010 3:55 pm
by HwyStar
"I think" that a pseudo-windows standard keystroke combination to close a file from the file menu is: <Alt>+F, "C".

The default PB environment uses <Ctrl>+W.

Alt+F and "C" do not close a file even though the "C" is underlined.

Re: <Alt>+F, "C" to close a file...

Posted: Sun Nov 07, 2010 6:08 pm
by Fluid Byte
Works fine for me.

Re: <Alt>+F, "C" to close a file...

Posted: Sun Nov 07, 2010 7:28 pm
by Vera
Hi HwyStar,

unfortunatly I can confirm this for Windows and it's corrupt since PB 4.50. Besides it doesn't only concern the <Alt>+F, "C" - none of any menushortcuts work, you can only open the menu.

I also couldn't make out any dependencies with e.g. chosen language or theme nor case sensitises. The only other mischief that is not dissolved yet are some double occupancies of predefined shortcuts, but this shouldn't cripple the whole menu.

Seems this is less a feature request but a bug report.

greetings ~ Vera

Re: <Alt>+F, "C" to close a file...

Posted: Sun Nov 07, 2010 7:59 pm
by Michael Vogel
Vera,
do you have problems with File/Close only or with ALL menu shortcuts, like Compiler/Options etc.?

I do (using Windows XP) and need to press cursor up/down now for these things, creating an exe file for example: Alt+C, up, up, up, up :twisted:

Michael

Re: <Alt>+F, "C" to close a file...

Posted: Sun Nov 07, 2010 8:21 pm
by Vera
Michael Vogel wrote:Vera,
do you have problems with File/Close only or with ALL menu shortcuts, like Compiler/Options etc.?
Yes - with all of them (XP SP2).
I didn't try your method yet (I think it would work as well) as I've got used to using the mouse only for the menu and assigned shortcuts for several, often used functions.

Vera

Re: <Alt>+F, "C" to close a file...

Posted: Sun Nov 07, 2010 8:29 pm
by Trond
I also have this problem. It's annoying, please fix it! The worst part is that all programs created with PB will have this problem.

Re: <Alt>+F, "C" to close a file...

Posted: Sun Nov 07, 2010 8:37 pm
by Vera
Trond wrote:I also have this problem. It's annoying, please fix it! The worst part is that all programs created with PB will have this problem.
Yes, but for the worst - that's not the IDE, that's only occuring when using imaged menus (and styling). With normal menus hotkeys still work.

see bugreports:
http://www.purebasic.fr/english/viewtop ... =4&t=42407 / http://www.purebasic.fr/english/viewtop ... =4&t=41792 / http://www.purebasic.fr/english/viewtop ... =4&t=39625

Re: <Alt>+F, "C" to close a file...

Posted: Sun Nov 07, 2010 10:52 pm
by Trond
You could turn off styled menus in the IDE too, right?

Re: <Alt>+F, "C" to close a file...

Posted: Sun Nov 07, 2010 11:51 pm
by Vera
Trond wrote:You could turn off styled menus in the IDE too, right?
No, the IDE isn't styled like #PB_Menu_ModernLook (luckily, and I hope it never will) and you can't deselect the icon display nor make it a none-imaged-menu.
It worked allright up to 4.41 - so why not afterwards as well ?

Re: <Alt>+F, "C" to close a file...

Posted: Mon Nov 08, 2010 1:59 pm
by HwyStar
If I go to File, Preferences, General, Themes, and deselect Display Icons in the Menu, then the Alt+F, "C" works!

I could care less about the Icons... I use multiple editors and this was the only one that didn't work. Good Job People!

Just update the preferences text in the Display Icons in the Menu section to let us know that keyboard shortcuts will not work because the images are present... My other compiler does not have images present and it works as advertised. Hmmm a Windows thing? Who cares! Just document it and move on! Some people use the mouse a lot, old-timers like me never use the mouse if we don't have to. We could care less for more real-estate to click on.

Re: <Alt>+F, "C" to close a file...

Posted: Mon Nov 08, 2010 2:16 pm
by TomS
HwyStar wrote:If I go to File, Preferences, General, Themes, and deselect Display Icons in the Menu, then the Alt+F, "C" works!
Thank you. 8)

Re: <Alt>+F, "C" to close a file...

Posted: Tue Nov 09, 2010 2:06 am
by Vera
@HwyStar

thanks too ;)

I never see these check-options as I'm blinded by the 4 icon previews I have in there.

But turning off the icon display to regain the shortcut function, that previously used to work, is like abandoning any feature containing a bug one after the other ... until you'll end up without any OS :mrgreen: