🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
8 messages
8 total messages Started by Deniz Tue, 20 Mar 2007 05:33
[Dialog] Bug? Change the shortcut, get a different function...
#196859
Author: Deniz
Date: Tue, 20 Mar 2007 05:33
14 lines
2038 bytes
Default shortcut keys for "Up to previous article" and "Down to next
article" are "U" and "D" respectively. I changed these to "CTRL + UP" and
"CTRL + DOWN". Now when I press CTRL + UP/DOWN it doesn't navigate but
scrolls the Article List Pane UP or DOWN. I figured that any shortcut with
CTRL assigned to these actions will result scrolling instead of navigation.
And shortcuts with SHIFT will result in selecting multiple articles. ALT
key does work as normal though. And, of course, I could assign single keys
and that does work normally.

So, I am wondering whether this strange behavior with CTRL and SHIFT is a
bug or an expected behavior?

-- 
Deniz
Re: [Dialog] Bug? Change the shortcut, get a different function...
#196909
Author: Oliver Cromm
Date: Wed, 21 Mar 2007 16:20
19 lines
2388 bytes
* Deniz wrote:

> Default shortcut keys for "Up to previous article" and "Down to next
> article" are "U" and "D" respectively. I changed these to "CTRL + UP" and
> "CTRL + DOWN". Now when I press CTRL + UP/DOWN it doesn't navigate but
> scrolls the Article List Pane UP or DOWN. I figured that any shortcut with
> CTRL assigned to these actions will result scrolling instead of navigation.
> And shortcuts with SHIFT will result in selecting multiple articles. ALT
> key does work as normal though. And, of course, I could assign single keys
> and that does work normally.
> 
> So, I am wondering whether this strange behavior with CTRL and SHIFT is a
> bug or an expected behavior?

Try Pressing "Scroll Lock", the behaviour of Ctrl-Up/Ctrl-Dn may be
influenced by that setting even before it reaches Dialog.
-- 
A computer will do what you tell it to do, but that may be much
different from what you had in mind. - Joseph Weizenbaum
Re: [Dialog] Bug? Change the shortcut, get a different function...
#196910
Author: Deniz
Date: Wed, 21 Mar 2007 16:43
24 lines
2463 bytes
On Wed, 21 Mar 2007 12:20:01 -0400, Oliver Cromm wrote:

> * Deniz wrote:
> 
>> Default shortcut keys for "Up to previous article" and "Down to next
>> article" are "U" and "D" respectively. I changed these to "CTRL + UP" and
>> "CTRL + DOWN". Now when I press CTRL + UP/DOWN it doesn't navigate but
>> scrolls the Article List Pane UP or DOWN. I figured that any shortcut with
>> CTRL assigned to these actions will result scrolling instead of navigation.
>> And shortcuts with SHIFT will result in selecting multiple articles. ALT
>> key does work as normal though. And, of course, I could assign single keys
>> and that does work normally.
>> 
>> So, I am wondering whether this strange behavior with CTRL and SHIFT is a
>> bug or an expected behavior?
> 
> Try Pressing "Scroll Lock", the behaviour of Ctrl-Up/Ctrl-Dn may be
> influenced by that setting even before it reaches Dialog.

Didn't work. Behaviour is the same in both ON and OFF conditions of the
scroll lock.

-- 
Deniz
Re: [Dialog] Bug? Change the shortcut, get a different function...
#196912
Author: May Pique
Date: Wed, 21 Mar 2007 19:53
65 lines
3586 bytes
On Tue, 20 Mar 2007 07:33:49 +0200, Deniz <invalid@invalid.invalid>
wrote:

>Default shortcut keys for "Up to previous article" and "Down to next
>article" are "U" and "D" respectively. I changed these to "CTRL + UP" and
>"CTRL + DOWN". Now when I press CTRL + UP/DOWN it doesn't navigate but
>scrolls the Article List Pane UP or DOWN. I figured that any shortcut with
>CTRL assigned to these actions will result scrolling instead of navigation.

No that's a false assumption and doesn't gel with and standards for
keymapping behaviour for those Ctrl_Cursor keys.

I can't really grasp why you'd even want to change those, because U
and D are simply legacy bindings for same navigation control as what
Cursor Up Arrow and Cursor Down Arrow do anyway.

They're throwbacks from the old "diamond" layout era, do you remember
back then? Ever used an Apple ][ kbd, or iirc, most Z80 stuff were
same. ie. no separate cursor keys? :)

Can you please elaborate further on why you want or need to reassign
the Up/Down nav keys?
Remember the IBM layout has two sets, so if yours aren't working turn
off numlock and use the others.
And you're always free to reassign U and D to something more useful
too.

>And shortcuts with SHIFT will result in selecting multiple articles. ALT

Correct. 
Shifted select == a spanned range of consecutive articles. 
Ctrl shifted action == select selective articles, non ranged. 
That's all stock Windows convention.

>key does work as normal though. And, of course, I could assign single keys
>and that does work normally.
>

Whatever you assign, plan it right and make sure you don't multiple
assign the same Key or Combo to dual function, otherwise you're
inviting conflict.

Also, avoid assigning any Alternate key + letter if at all possible
(and it is). Because for one reason, the Alt key is the default system
wide Menus shift-state key, on Windows platform.

>So, I am wondering whether this strange behavior with CTRL and SHIFT is a
>bug or an expected behavior?

Depends on what your definition of strange is I suppose.

Nothing strange that I see in all that.
In all the time I used the Dog I never struck any such bug or even
anomaly in its Keyboard handling. Also, most of its default bindings
to commands, and those for navigation especially, were very clever
thought out too.
eg. Marcus made Home and End actually go to the real First (top) and
real Last (bottom) article in the Msg List, and their Ctrl
shiftedstate equivalents appropriately went to top and bottom of the
pane.

-- 
em.pee  (desperately missing the Dog)

Re: [Dialog] Bug? Change the shortcut, get a different function...
#196913
Author: Rom
Date: Wed, 21 Mar 2007 20:53
12 lines
1250 bytes
On Thu, 22 Mar 2007 06:53:00 +1100, May Pique wrote:

> -- 
> em.pee  (desperately missing the Dog)

As the subject of this thread says:

  "Change the shortcut, get a different function..."


-- 
Rom
Re: [Dialog] Bug? Change the shortcut, get a different function...
#196920
Author: May Pique
Date: Thu, 22 Mar 2007 05:28
22 lines
1450 bytes
On Thu, 22 Mar 2007 07:53:39 +1100, Rom <-@-.invalid> wrote:

>On Thu, 22 Mar 2007 06:53:00 +1100, May Pique wrote:
>
>> -- 
>> em.pee  (desperately missing the Dog)
>
>As the subject of this thread says:
>
>  "Change the shortcut, get a different function..."

Cheeky.

Yeah, I deserved that.



MS Sg hasn't planted 64 letter bomb bits in my postbox yet.

-- 
em.pee  (procrastinating and flaggelating...)
Re: [Dialog] Bug? Change the shortcut, get a different function...
#196922
Author: Deniz
Date: Thu, 22 Mar 2007 12:13
102 lines
5864 bytes
On Thu, 22 Mar 2007 06:53:00 +1100, May Pique wrote:

> On Tue, 20 Mar 2007 07:33:49 +0200, Deniz <invalid@invalid.invalid>
> wrote:
> 
>>Default shortcut keys for "Up to previous article" and "Down to next
>>article" are "U" and "D" respectively. I changed these to "CTRL + UP" and
>>"CTRL + DOWN". Now when I press CTRL + UP/DOWN it doesn't navigate but
>>scrolls the Article List Pane UP or DOWN. I figured that any shortcut with
>>CTRL assigned to these actions will result scrolling instead of navigation.
> 
> No that's a false assumption and doesn't gel with and standards for
> keymapping behaviour for those Ctrl_Cursor keys.

No. I'm not just talking about the CTRL + CURSOR keys. You may bind, for
example, CTRL + M to the "Up to previous article" action and when you press
it, it scrolls the pane up not navigates up.

> I can't really grasp why you'd even want to change those, because U
> and D are simply legacy bindings for same navigation control as what
> Cursor Up Arrow and Cursor Down Arrow do anyway.
> 
> They're throwbacks from the old "diamond" layout era, do you remember
> back then? Ever used an Apple ][ kbd, or iirc, most Z80 stuff were
> same. ie. no separate cursor keys? :)

No. I'm not that old enough to catch that era :). My first PC had the
cursor keys.

> Can you please elaborate further on why you want or need to reassign
> the Up/Down nav keys?

Sure. Although "U" and "D" are logical and catchy enough, in my keyboard
layout (QWERTY), they are not even close to form a "diamond" formation. I
am using a laptop so I don't have a seperate numpad set. Therefore it is no
use. I need closer keys, so that I can navigate easily. My first choice was
CTRL + UP/DOWN. Now that I can't use CTRL+ keys, I changed it to ","/"<"
for UP/DOWN navigation.

> Remember the IBM layout has two sets, so if yours aren't working turn
> off numlock and use the others.
> And you're always free to reassign U and D to something more useful
> too.

Apparently, I'm not that free.

>>And shortcuts with SHIFT will result in selecting multiple articles. ALT
> 
> Correct. 
> Shifted select == a spanned range of consecutive articles. 
> Ctrl shifted action == select selective articles, non ranged. 
> That's all stock Windows convention.

Yes, I know that. But when I bind SHIFT + SMT to Up action, I'm not using
Shifted select. It is just select triggered by a shortcut with the SHIFT
key. Of course if I use SHIFT + SMT for navigation, then I can't use
shifted select, or vice versa.

>>key does work as normal though. And, of course, I could assign single keys
>>and that does work normally.
>>
> 
> Whatever you assign, plan it right and make sure you don't multiple
> assign the same Key or Combo to dual function, otherwise you're
> inviting conflict.

Well, my version of Dialog is clever enough to point out duplications at
the binding stage. If you insist on the duplicate shortcut, it removes the
previous one. So, no worries in conflicts.

> Also, avoid assigning any Alternate key + letter if at all possible
> (and it is). Because for one reason, the Alt key is the default system
> wide Menus shift-state key, on Windows platform.

You are right. I'm not gonna use ALT+ bindings. My small experiment with
ALT was just to see what happens.

>>So, I am wondering whether this strange behavior with CTRL and SHIFT is a
>>bug or an expected behavior?
> 
> Depends on what your definition of strange is I suppose.

Stange: Unexpected. I don't expect to get a different function when I bind
a different shortcut for an action. Do you?

> Nothing strange that I see in all that.
> In all the time I used the Dog I never struck any such bug or even
> anomaly in its Keyboard handling. Also, most of its default bindings
> to commands, and those for navigation especially, were very clever
> thought out too.
> eg. Marcus made Home and End actually go to the real First (top) and
> real Last (bottom) article in the Msg List, and their Ctrl
> shiftedstate equivalents appropriately went to top and bottom of the
> pane.

I agree. But, I need to customize a few of those bindings :). Sure, I can
work around my problem by using different key sets. The post was to see if
this "strange" behaviour is intended for some greater purpose that I'm
missing.

-- 
Deniz
Re: [Dialog] Bug? Change the shortcut, get a different function...
#196924
Author: Oliver Cromm
Date: Thu, 22 Mar 2007 16:34
21 lines
2300 bytes
* Deniz wrote:

> On Thu, 22 Mar 2007 06:53:00 +1100, May Pique wrote:
> 
>> On Tue, 20 Mar 2007 07:33:49 +0200, Deniz <invalid@invalid.invalid>
>> wrote:

>>>So, I am wondering whether this strange behavior with CTRL and SHIFT is a
>>>bug or an expected behavior?
>> 
>> Depends on what your definition of strange is I suppose.
> 
> Stange: Unexpected. I don't expect to get a different function when I bind
> a different shortcut for an action. Do you?

I think at least your specific example with <Ctrl+Up> for "Up one level"
is a bug, since I confirmed it, whereas my (standard? I don't remember)
assignment <Ctrl+Up> to "Up one level" works fine, so it's not as if
<Ctrl+Up> would always scroll.
-- 
*Hardware* /n./ The parts of a computer that can be kicked
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads