Bug 414625 - Layer - Transform - Offset can't enter a value greater than 13887.50
Summary: Layer - Transform - Offset can't enter a value greater than 13887.50
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Tools/Transform (show other bugs)
Version: 4.2.8
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Tiar
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-28 17:18 UTC by Dan
Modified: 2019-12-11 12:51 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Simple project file showing the issue, try to move the selected layer over by 16384 pixels (or other large values) (2.64 MB, application/x-krita)
2019-11-28 17:18 UTC, Dan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dan 2019-11-28 17:18:57 UTC
Created attachment 124165 [details]
Simple project file showing the issue, try to move the selected layer over by 16384 pixels (or other large values)

SUMMARY
Layer - Transform - Offset can't enter a value greater than 13887.50.

I have a large 4k file, first when the offset dialog comes up it keeps defaulting to 13887.50 for y and 2048 for x, instead of my previous used values which would be easier. Second when I try to change the y value to say 16384 it just pops back to the 13887.50 value, and there appears to be no way to offset a layer greater than that. 

STEPS TO REPRODUCE
1. Load attached file
2. In that layer select Layer - Transform - Offset
3. Try to enter 16384 and tab/click outside

OBSERVED RESULT
The value switches back

EXPECTED RESULT
My value

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Ubuntu 19.04
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Tiar 2019-12-03 16:13:34 UTC
Git commit f2419f5af19840e82db026942a3da8e25c707ab5 by Agata Cacko.
Committed on 03/12/2019 at 12:42.
Pushed by tymond into branch 'master'.

Increase the limit in Layer Offset to 100k

Before this commit, there was no maximum set on the double
spin box which holded the value. Because by default it would
be filled with half of the width and height of the layer
extent, there will be some maximum value set bigger
than 99 which is the default for double spin boxes.
This commit fixes this behaviour by setting 100 000
as a maximum explicitely.

M  +6    -0    plugins/extensions/offsetimage/wdg_offsetimage.ui

https://invent.kde.org/kde/krita/commit/f2419f5af19840e82db026942a3da8e25c707ab5
Comment 2 Tiar 2019-12-11 12:51:34 UTC
Git commit 08d9b9c04e64121c5a34ca3e7bf4196f03843f98 by Agata Cacko.
Committed on 11/12/2019 at 12:49.
Pushed by tymond into branch 'krita/4.2'.

Increase the limit in Layer Offset to 100k

Before this commit, there was no maximum set on the double
spin box which holded the value. Because by default it would
be filled with half of the width and height of the layer
extent, there will be some maximum value set bigger
than 99 which is the default for double spin boxes.
This commit fixes this behaviour by setting 100 000
as a maximum explicitely.

M  +6    -0    plugins/extensions/offsetimage/wdg_offsetimage.ui

https://invent.kde.org/kde/krita/commit/08d9b9c04e64121c5a34ca3e7bf4196f03843f98