-
Notifications
You must be signed in to change notification settings - Fork 300
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PAINTROID-419 "Vanishing" UI controls #1180
Conversation
6867d70
to
267911c
Compare
83585e5
to
c21f4c3
Compare
d737222
to
d985a8d
Compare
Some things I noticed:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See comment
Please fix the tool window not disappearing (@SebastianGrief mentioned it above) |
ea0d508
to
a21e077
Compare
Both findings are fixed now. @SebastianGrief @juliajulie95 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
There are more tests than normally failing. The following tests do not fail on develop. Could you take a look at those?
|
887f824
to
eef8272
Compare
eef8272
to
e7518bf
Compare
hide unhide tool options with animation. if the tool has top and bottom specific layouts. they will slide up and down. tools with only bottom layouts slide down. -added methods in every tool effected by the animation -also added methods in the default option views. -changed Drawinsurface that the drawing surface will begin at the top of the screen instead from under the topnavigationLayout and will end at the bottom of the screen instead of the navigationbottomlayout. -changed headers of worked on files. -removes scrollingviewintegrationtests -removes the auto scrolling feature. when you draw the drawingsurface will not scroll with the current direction the user draws. -also hides the android status and navigation bar. -remove autoscrolltasktests - removed non full screen mode. the user will now always be in the fullscreen perspective. - does not reset scale when you scale out and then draw on the zoomed out image. - only resets scale when you switch modes.
0e5af13
to
91940da
Compare
testTransformToolSetCenterFarCenter is fixed now and should not fail anymore. The other three are also failing on develop sometimes, looks like there might be timing issues sometimes. |
91940da
to
ab676f7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
PAINTROID-419
Last Comments made in #1106 where i picked up from:
Zooming in and out seems to not work 100% correct, as after each zoom, the first click the user makes seems to be ignored and doesn't change anything on the canvas, the second click then shows the bars, which were vanished, again.
When using the line tool and drawing a line, then clicking on plus to extend the line, the top bar vanishes when clicking on the plus button, which should not happen, as this is not happening, when user clicks undo, redo and checkmark, which are all also in the top bar but when clicked, the bar does not shortly vanish.
Overall single clicking with any tool does not seem to work as i.e. with the brush tool no dot is drawn and when single clicking and keeping the finger on the screen for a short amount of time, something is drawn but not a single dot but rather a small short line. This most likely happens because of vanishing the bars, which also slightly moves the canvas and therefore a small line rather than a dot is recognized. This is actually not really acceptable as users are not able to make small changes with this bug.
Smudge tool seems to be not really usable with this feature, at least when I'm trying to smudge a small portion of the display just for a bit, the handling of the clicks are to vague to make proper changes. One option would be to disable this feature for some tools, where the constant switch between vanishing and displaying is rather disturbing than helpful, like in this tool. But this should also be discussed in further detail.
Also if I understood Wolfgang correctly, the canvas shall not be maximized when clicking "hide buttons" in the settings menu. This is now the case, as well as when exiting the "hide buttons" mode.
It seems like the test: testTransformToolSetCenterFarCenter() fails since this PR, so please try to fix this before I can approve changes.
New in this PR:
1.+ 3. Every touch event caused the statusbar to hide. Respectivly the drawingSurface changed its position. Now the app hides the statusbar by default.
positive: bigger drawing surface , all errors from 1 and 3 are solved, no unnecessary overhead for calculating the correct recentering of the drawing surface.
negative: user can see status bar only when swiping down
2.Wrapped the line-handling logic in a new method, so no animations are triggered when clicking the button
4.deactivated animations in smudge tool
-> redesign of smudge tool menu needed because it uses too much space
5.removed resetScaleAndTranslation() call from hideButtons calls
6.This tests fails locally also in delvelop branch.
7.The animations were not working correctly in landscape mode, this was also fixed.