[Qt-creator] Click to activate vs. reposition cursor
Adam Higerd
ahigerd at timeips.com
Wed Feb 25 19:11:58 CET 2009
Point of note, the Apple HIG forbids the use of click-through except in
a very small set of circumstances (i.e. "remote control" windows that
are supposed to hover in the background and be accessible no matter
what's active). This means that an inactive window should never process
mouse click events except to raise itself.
The HIG has this rule for a good reason: it can never be wrong. If you
WANTED to click there, you can click twice; if you DIDN'T want to click
there but needed to raise the window, the window is raised and no click
is processed.
(Side question, does Qt offer a way to control click-through behavior?)
/s/ Adam
Ernst Huber wrote:
> Tried out some other programs which can have more than one window open
> on Windows PC. Most (all) of them, in particular coder tools, activate
> the window and place the cursor where the click occured. Seems to be
> different to Mac UI principles. Could also have to do with SDI / MDI
> user interfaces, but finally it seems to be up to the implementors
> choice. For example OpenOffice Writer: opens documents as SDI windows as
> MS Word does, but clicking in an inactive window does cursor
> repositioning as compared toWord which doesn't.
>
> Till now I didn't bother about this - unwittingly I'm used to the
> "activate and reposition cursor" behaviour on Windows and I hope, that
> Qt Creator WON't be changed!
>
> Regards
> Ernst
>
> Israel Brewster schrieb:
>> On Feb 25, 2009, at 6:45 AM, Ernst Huber wrote:
>>
>>
>>> What I observe is that clicking in the title bar of an editor window
>>> (i.e. a split pane) activates it without moving the cursor position
>>> while clicking somewhere in the coding area of an inactive editor
>>> window
>>> activates it and moves the cursor to where the user clicked.
>>>
>>> This is different to programs such as MS Excel, Word etc. In these
>>> programs a click somewhere in the client area of an inactive window
>>> activates it with the cursor position unchanged. BUT in Visual Studio
>>> the behaviour is the same as in Qt Creator - you get the cursor where
>>> you clicked the inactive window.
>>>
>>> So I guess this behaviour is "user experience dependent" and not
>>> platform specific.
>>>
>> Interesting point. I'm on a Mac, OS X 10.5, and have only briefly used
>> visual studio. In that usage, I don't believe I did much switching
>> between applications, so I didn't run into this behavior, at least not
>> that I recall. None of the other applications I have used exhibited
>> this behavior, so I sort of thought that it was unusual. If this is
>> not the case, I can probably get used to it, but at the moment at
>> least it bugs me.
>>
>> -----------------------------------------------
>> Israel Brewster
>> Computer Support Technician
>> Frontier Flying Service Inc.
>> 5245 Airport Industrial Rd
>> Fairbanks, AK 99709
>> (907) 450-7250 x293
>> -----------------------------------------------
>>
>>
>>> Regards
>>> Ernst
>>>
>>>
>>> Eike Ziller schrieb:
>>>
>>>> On Feb 24, 2009, at 6:59 PM, ext Israel Brewster wrote:
>>>>
>>>>
>>>>
>>>>> One thing that I've noticed recently which seems to me to be
>>>>> incorrect
>>>>> behavior is that when I click into a QtCreator edit window that is
>>>>> in
>>>>> the background, it not only activates the window, it also
>>>>> repositions
>>>>> the insertion point. So I click into the window to activate it, and
>>>>> start typing expecting the insertion point to be where I left it,
>>>>> only
>>>>> to find that it has moved on me. Rather annoying :)
>>>>>
>>>>>
>>>> Hi,
>>>> can you please tell us which platform you are working on? Because
>>>> this
>>>> is most probably platform dependent behavior.
>>>> Thanks a lot,
>>>> Eike
>>>>
>>>>
>>>>
>>>>> -----------------------------------------------
>>>>> Israel Brewster
>>>>> Computer Support Technician
>>>>> Frontier Flying Service Inc.
>>>>> 5245 Airport Industrial Rd
>>>>> Fairbanks, AK 99709
>>>>> (907) 450-7250 x293
>>>>> -----------------------------------------------
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Qt-creator mailing list
>>>>> Qt-creator at trolltech.com
>>>>> http://lists.trolltech.com/mailman/listinfo/qt-creator
>>>>>
>>>>>
>>>>
>>> _______________________________________________
>>> Qt-creator mailing list
>>> Qt-creator at trolltech.com
>>> http://lists.trolltech.com/mailman/listinfo/qt-creator
>>>
>> _______________________________________________
>> Qt-creator mailing list
>> Qt-creator at trolltech.com
>> http://lists.trolltech.com/mailman/listinfo/qt-creator
>>
>>
>>
>
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-creator
>
More information about the Qt-creator-old
mailing list