bugMyPaint - Bugs: bug #18508, Scratchpad. Doesn't zoom with...

 
 
Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

bug #18508: Scratchpad. Doesn't zoom with keyboard.

Submitted by:  Ramon Miranda <theshock>
Submitted on:  Mon 15 Aug 2011 01:20:08 PM UTC  
 
Severity: 2 - MinorPriority: 5 - Normal
Status: ConfirmedPrivacy: Public
Assigned to: NoneOpen/Closed: Open
Release: git 52ee730Planned Release: None
Operating System: 

Wed 17 Aug 2011 09:32:13 PM UTC, comment #3:

> I'm not sure about keys though. Since there's no way of telling whether the scratchpad or the main doc has this "last pointed at" focus, it may be non-obvious to users. Particularly not users who prefer click-to-focus for normal window interaction. Thoughts?


I don't use the toolboxes docked so I'm inclined to suggest just going by window focus. People with click-to-focus will have to click it in some way, while focus-follows-mouse users just have to hover. The tough part is the embedded sidebar. I don't suppose there's a way to detect whether the WM does click-to-focus or focus-follows-mouse, and then react accordingly?

Actually, disregard the previous paragraph. I'm going to leave it in case the thought process is useful, but instinctive use seems to be contrary to what I expected. I just spent a few minutes alternating between the canvas and the scratchpad to test and I find I'm expecting a focus-follows-mouse type behaviour. I don't think this is due to a bias based on normal use pattern; I normally use click-to-focus (so I can use mousewheel on webpages without losing focus on where I'm typing elsewhere).

Joshua Tyler <marand>
Wed 17 Aug 2011 10:42:09 AM UTC, comment #2:

Confirmed in master as of 52ee730. Focus rejection is a bit of a red herring, and we should probably do away with that code anyway since it's about keyboard focus (which we do something special with anyway).

Zooming with button+motion+modifier combos is possible because we abstract out mouse clicks so that the scratchpad can be drawn on. We don't do that with the other commands, or scrollwheel turning.

For the scrollwheel, drawwindow.py's scroll_cb() needs to fire its command at the scratchpad_doc if it was the last pointed at. Pointing at something and turning the scroll wheel is a fairly natural interaction, and we should support this.

I'm not sure about keys though. Since there's no way of telling whether the scratchpad or the main doc has this "last pointed at" focus, it may be non-obvious to users. Particularly not users who prefer click-to-focus for normal window interaction. Thoughts?

In the code, we need a far better abstraction of "last gui-document which had focus" than we currently do, I think. I can see app.doc_with_pointer as being the obvious placeholder there.

I think the scratchpad needs a Reset View option.

Andrew Chadwick <achadwick>
Project Administrator
Tue 16 Aug 2011 09:56:06 PM UTC, comment #1:

Using the wheel mouse to zoom also fails. The only way to zoom seems to be with the stylus/mouse control.

I thought it might be related to the toolbox windows not accepting focus, but this is not the case. Used Kwin to force the scratchpad to accept focus and still could not zoom using wheel or keyboard shortcuts.

Joshua Tyler <marand>
Mon 15 Aug 2011 01:20:08 PM UTC, original submission:

Scratchpad doesn´t zoom when we are over the scratchpad image and press "+" or "-" keyboard shortcut.

The amazing thing is that i can Zoom in and out , also rotate and pan, when i do with my stylus buttons. preconfigured from the preferences menu. this way.

http://www.pasteall.org/pic/16398

any idea if the feature is missed?

Ramon Miranda <theshock>
Project Member

 

Attached Files
file #13883:  Selección_007.png added by theshock (83kB - image/png - Preferences menu .Buttons)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by achadwick (Posted a comment)
  • -unavailable- added by marand (Posted a comment)
  • -unavailable- added by theshock (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 17 Aug 2011 10:42:09 AM UTCachadwickStatusNone=>Confirmed
      Release=>git 52ee730
    Mon 15 Aug 2011 01:20:08 PM UTCtheshockAttached File-=>Added Selección_007.png, #13883
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup