Text wrap bug in sText - bug still in final release

Get answers to your questions about color grading, editing and finishing with DaVinci Resolve.
  • Author
  • Message
Offline

rsf123

  • Posts: 512
  • Joined: Tue May 21, 2019 3:05 pm
  • Real Name: Roger Smith

Text wrap bug in sText - bug still in final release

PostWed Apr 30, 2025 12:05 pm

There is a bug in text wrap in sText ... whereas it is ok in Text+ in the Edit tab, and also ok in Text+ in the Fusion tab.

I'm using latest beta 2 of Davinci 20, but recall noticing the problem also in beta 1.

Firstly, below is a diagram showing text wrap working ok in Text+ in the Edit tab, when the Fusion overlay is turned on. A red box surrounds the wrapped-text. And we are able to adjust the size of the red box by dragging the red box.

Text in edit page.png
Text in edit page.png (707.2 KiB) Viewed 689 times


Secondly, below is a diagram showing text wrap working ok in Text+ in the Fusion tab. A green box surrounds the wrapped-text. And we are able to adjust the size of the green box by dragging the green box.

Text in Fusion page.png
Text in Fusion page.png (948.12 KiB) Viewed 689 times


Now, the problem with text wrap occurs in the sText node. In this example, all the text parameters, font, font size are the same. But the first bug is that the positioning of the green box is skewed away from the actual wrapped-text. Instead of the green box being around the actual wrapped-text, the green box's location is shifted such that its corner is positioned at coordinates (0,0). See diagram below.

sText in Fusion page.png
sText in Fusion page.png (769.82 KiB) Viewed 689 times


The above is not the only bug in text-wrap of the sText node. When you try to adjust the size of the green box by dragging it, the instant you start to drag the green box it immediately snaps to a very narrow width, as shown in the diagram below.

(The diagram is in the next post below, since each post is limited to 3 images)
Last edited by rsf123 on Wed May 28, 2025 4:49 am, edited 5 times in total.
Offline

rsf123

  • Posts: 512
  • Joined: Tue May 21, 2019 3:05 pm
  • Real Name: Roger Smith

Re: Text wrap bug in sText, versus Text+

PostWed Apr 30, 2025 12:06 pm

(continued)

Below is a diagram showing how the green box of the sText text-wrap instantly snaps to a thin, narrow column when you try to adjust its size by dragging the green box.

Moreover, the green box has disappeared. What is now visible is a red box.

sText bug when changing size.png
sText bug when changing size.png (593.12 KiB) Viewed 687 times


Below is the code of the Fusion composition of the sText node that has the above problem.

Code: Select all
{
   Tools = ordered() {
      Text1 = TextPlus {
         Inputs = {
            GlobalOut = Input { Value = 119, },
            Width = Input { Value = 3840, },
            Height = Input { Value = 2160, },
            UseFrameFormatSettings = Input { Value = 1, },
            ["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" }, },
            LayoutType = Input { Value = 1, },
            Wrap = Input { Value = 1, },
            LayoutWidth = Input { Value = 0.171919413898575, },
            LayoutHeight = Input { Value = 0.794871794871795, },
            LayoutRotation = Input { Value = 1, },
            TransformRotation = Input { Value = 1, },
            Softness1 = Input { Value = 1, },
            StyledText = Input { Value = "In tempor ligula nunc, non laoreet urna vestibulum vitae. Proin sodales tristique lacus non vestibulum. Fusce at scelerisque enim, at dapibus eros. Duis tincidunt ut leo et pellentesque. Donec non ex imperdiet, finibus risus vitae, pretium elit. Donec arcu ligula, nterdum vitae leifend ac, vehicula vitae ipsum. Maecenas pharetra onvallis ex, consectetur scelerisque lorem tincidunt nec. Sed et lectus sit amet enim ultrices blandit ac a tellus. Nullam varius laoreet scelerisque.\n\nIn tempor ligula nunc, non laoreet urna vestibulum vitae. Proin sodales tristique lacus non vestibulum. Fusce at scelerisque enim, at dapibus eros. Duis tincidunt ut leo et pellentesque. Donec non ex imperdiet, finibus risus vitae, pretium elit. Donec arcu ligula, nterdum vitae leifend ac, vehicula vitae ipsum. Maecenas pharetra onvallis ex, consectetur scelerisque lorem tincidunt nec. Sed et lectus sit amet enim ultrices blandit ac a tellus. Nullam varius laoreet scelerisque.\n\nIn tempor ligula nunc, non laoreet urna vestibulum vitae. Proin sodales tristique lacus non vestibulum. Fusce at scelerisque enim, at dapibus eros. Duis tincidunt ut leo et pellentesque. Donec non ex imperdiet, finibus risus vitae, pretium elit. Donec arcu ligula, nterdum vitae leifend ac, vehicula vitae ipsum. Maecenas pharetra onvallis ex, consectetur scelerisque lorem tincidunt nec. Sed et lectus sit amet enim ultrices blandit ac a tellus. Nullam varius laoreet scelerisque.\n\nIn tempor ligula nunc, non laoreet urna vestibulum vitae. Proin sodales tristique lacus non vestibulum. Fusce at scelerisque enim, at dapibus eros. Duis tincidunt ut leo et pellentesque. Donec non ex imperdiet, finibus risus vitae, pretium elit. Donec arcu ligula, nterdum vitae leifend ac, vehicula vitae ipsum. Maecenas pharetra onvallis ex, consectetur scelerisque lorem tincidunt nec. Sed et lectus sit amet enim ultrices blandit ac a tellus. Nullam varius laoreet scelerisque.\n\nIn tempor ligula nunc, non laoreet urna vestibulum vitae. Proin sodales tristique lacus non vestibulum. Fusce at scelerisque enim, at dapibus eros. Duis tincidunt ut leo et pellentesque. Donec non ex imperdiet, finibus risus vitae, pretium elit. Donec arcu ligula, nterdum vitae leifend ac, vehicula vitae ipsum. Maecenas pharetra onvallis ex, consectetur scelerisque lorem tincidunt nec. Sed et lectus sit amet enim ultrices blandit ac a tellus. Nullam varius laoreet scelerisque.\n\nIn tempor ligula nunc, non laoreet urna vestibulum vitae. Proin sodales tristique lacus non vestibulum. Fusce at scelerisque enim, at dapibus eros. Duis tincidunt ut leo et pellentesque. Donec non ex imperdiet, finibus risus vitae, pretium elit. Donec arcu ligula, nterdum vitae leifend ac, vehicula vitae ipsum. Maecenas pharetra onvallis ex, consectetur scelerisque lorem tincidunt nec. Sed et lectus sit amet enim ultrices blandit ac a tellus. Nullam varius laoreet scelerisque.", },
            Font = Input { Value = "Open Sans", },
            Style = Input { Value = "Light", },
            Size = Input { Value = 0.0101, },
            VerticalJustificationNew = Input { Value = 3, },
            HorizontalLeftCenterRight = Input { Value = -1, },
            HorizontalJustificationNew = Input { Value = 3, },
            HorizontallyJustified = Input { Value = 1, }
         },
         ViewInfo = OperatorInfo { Pos = { 1100, -16.5 } },
      },
      sText1 = sText {
         Inputs = {
            LayoutType = Input { Value = 1, },
            Wrap = Input { Value = 1, },
            LayoutRotation = Input { Value = 1, },
            TransformRotation = Input { Value = 1, },
            StyledText = Input { Value = "In tempor ligula nunc, non laoreet urna vestibulum vitae. Proin sodales tristique lacus non vestibulum. Fusce at scelerisque enim, at dapibus eros. Duis tincidunt ut leo et pellentesque. Donec non ex imperdiet, finibus risus vitae, pretium elit. Donec arcu ligula, nterdum vitae leifend ac, vehicula vitae ipsum. Maecenas pharetra onvallis ex, consectetur scelerisque lorem tincidunt nec. Sed et lectus sit amet enim ultrices blandit ac a tellus. Nullam varius laoreet scelerisque.\n\nIn tempor ligula nunc, non laoreet urna vestibulum vitae. Proin sodales tristique lacus non vestibulum. Fusce at scelerisque enim, at dapibus eros. Duis tincidunt ut leo et pellentesque. Donec non ex imperdiet, finibus risus vitae, pretium elit. Donec arcu ligula, nterdum vitae leifend ac, vehicula vitae ipsum. Maecenas pharetra onvallis ex, consectetur scelerisque lorem tincidunt nec. Sed et lectus sit amet enim ultrices blandit ac a tellus. Nullam varius laoreet scelerisque.\n\nIn tempor ligula nunc, non laoreet urna vestibulum vitae. Proin sodales tristique lacus non vestibulum. Fusce at scelerisque enim, at dapibus eros. Duis tincidunt ut leo et pellentesque. Donec non ex imperdiet, finibus risus vitae, pretium elit. Donec arcu ligula, nterdum vitae leifend ac, vehicula vitae ipsum. Maecenas pharetra onvallis ex, consectetur scelerisque lorem tincidunt nec. Sed et lectus sit amet enim ultrices blandit ac a tellus. Nullam varius laoreet scelerisque.\n\nIn tempor ligula nunc, non laoreet urna vestibulum vitae. Proin sodales tristique lacus non vestibulum. Fusce at scelerisque enim, at dapibus eros. Duis tincidunt ut leo et pellentesque. Donec non ex imperdiet, finibus risus vitae, pretium elit. Donec arcu ligula, nterdum vitae leifend ac, vehicula vitae ipsum. Maecenas pharetra onvallis ex, consectetur scelerisque lorem tincidunt nec. Sed et lectus sit amet enim ultrices blandit ac a tellus. Nullam varius laoreet scelerisque.\n\nIn tempor ligula nunc, non laoreet urna vestibulum vitae. Proin sodales tristique lacus non vestibulum. Fusce at scelerisque enim, at dapibus eros. Duis tincidunt ut leo et pellentesque. Donec non ex imperdiet, finibus risus vitae, pretium elit. Donec arcu ligula, nterdum vitae leifend ac, vehicula vitae ipsum. Maecenas pharetra onvallis ex, consectetur scelerisque lorem tincidunt nec. Sed et lectus sit amet enim ultrices blandit ac a tellus. Nullam varius laoreet scelerisque.\n\nIn tempor ligula nunc, non laoreet urna vestibulum vitae. Proin sodales tristique lacus non vestibulum. Fusce at scelerisque enim, at dapibus eros. Duis tincidunt ut leo et pellentesque. Donec non ex imperdiet, finibus risus vitae, pretium elit. Donec arcu ligula, nterdum vitae leifend ac, vehicula vitae ipsum. Maecenas pharetra onvallis ex, consectetur scelerisque lorem tincidunt nec. Sed et lectus sit amet enim ultrices blandit ac a tellus. Nullam varius laoreet scelerisque.", },
            Font = Input { Value = "Open Sans", },
            Style = Input { Value = "Regular", },
            Size = Input { Value = 0.0101, },
            VerticalJustificationNew = Input { Value = 3, },
            HorizontalLeftCenterRight = Input { Value = -1, },
            HorizontalJustificationNew = Input { Value = 3, },
            HorizontallyJustified = Input { Value = 1, }
         },
         ViewInfo = OperatorInfo { Pos = { 1375, -49.5 } },
      },
      sRender1 = sRender {
         Inputs = {
            GlobalOut = Input { Value = 119, },
            Width = Input { Value = 3840, },
            Height = Input { Value = 2160, },
            UseFrameFormatSettings = Input { Value = 1, },
            ["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" }, },
            Input = Input {
               SourceOp = "sText1",
               Source = "Output",
            }
         },
         ViewInfo = OperatorInfo { Pos = { 1375, 16.5 } },
      },
      Background1 = Background {
         Inputs = {
            GlobalOut = Input { Value = 119, },
            Width = Input { Value = 3840, },
            Height = Input { Value = 2160, },
            UseFrameFormatSettings = Input { Value = 1, },
            ["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" }, },
            TopLeftAlpha = Input { Value = 0, }
         },
         ViewInfo = OperatorInfo { Pos = { 990, 148.5 } },
      },
      Merge1 = Merge {
         Inputs = {
            Background = Input {
               SourceOp = "Background1",
               Source = "Output",
            },
            Foreground = Input {
               SourceOp = "sRender1",
               Source = "Output",
            },
            PerformDepthMerge = Input { Value = 0, }
         },
         ViewInfo = OperatorInfo { Pos = { 1375, 148.5 } },
      },
      MediaOut1 = MediaOut {
         CtrlWZoom = false,
         Inputs = {
            Index = Input { Value = "0", },
            Input = Input {
               SourceOp = "Merge1",
               Source = "Output",
            }
         },
         ViewInfo = OperatorInfo { Pos = { 1595, 148.5 } },
      }
   },
   ActiveTool = "MediaOut1"
}
Offline

rsf123

  • Posts: 512
  • Joined: Tue May 21, 2019 3:05 pm
  • Real Name: Roger Smith

Re: Text wrap bug in sText, whereas wrap in Text+ is ok

PostWed Apr 30, 2025 1:37 pm

Some further experimenting in the sText node ... in order to avoid the instantaneous snapping to the narrow, thin box when trying to drag the green box ... I successfully was able to control the dimensions of the green box using the slider control. But, as before, the bug remains that the green box is misaligned relative to the actual wrapped-text.

SCR-20250430-ugkp.png
SCR-20250430-ugkp.png (631.36 KiB) Viewed 662 times
Offline

NicholsMediaPress

  • Posts: 130
  • Joined: Mon Jan 06, 2025 8:03 pm
  • Real Name: Omar Nichols Jr.

Re: Text wrap bug in sText, whereas wrap in Text+ is ok

PostWed Apr 30, 2025 3:15 pm

Interesting problem, hopefully they fix it!!!
Offline

rsf123

  • Posts: 512
  • Joined: Tue May 21, 2019 3:05 pm
  • Real Name: Roger Smith

Re: Text wrap bug in sText, whereas wrap in Text+ is ok

PostMon May 05, 2025 11:17 am

Same bug remains in beta 3.

I should also clarify that the bug in sText - where trying to drag the green rectangle results in instantaneous snapping to a thin-narrow column -- that happens in beta 3 when dragging the right-hand vertical edge of the green rectangle (which is right up against the side of the view window. This instantaneous snapping doesn't seem to happen when you drag the left-hand vertical edge of the green rectangle.
Offline

rsf123

  • Posts: 512
  • Joined: Tue May 21, 2019 3:05 pm
  • Real Name: Roger Smith

Re: Text wrap bug in sText, whereas wrap in Text+ is ok

Offline

Shrinivas Ramani

Blackmagic Design

  • Posts: 3099
  • Joined: Wed Sep 20, 2017 10:19 am

Re: Text wrap bug in sText, whereas wrap in Text+ is ok

PostTue May 20, 2025 9:39 am

Thanks for the report. this should behave as expected in the new 20.0 beta 4.
Offline

rsf123

  • Posts: 512
  • Joined: Tue May 21, 2019 3:05 pm
  • Real Name: Roger Smith

Re: Text wrap bug in sText, whereas wrap in Text+ is ok

PostTue May 20, 2025 1:56 pm

Shrinivas Ramani wrote:Thanks for the report. this should behave as expected in the new 20.0 beta 4.
Last edited by rsf123 on Thu May 22, 2025 3:16 am, edited 1 time in total.
Offline

rsf123

  • Posts: 512
  • Joined: Tue May 21, 2019 3:05 pm
  • Real Name: Roger Smith

Re: Text wrap bug in sText, whereas wrap in Text+ is ok

PostWed May 21, 2025 2:31 pm

Shrinivas Ramani wrote:Thanks for the report. this should behave as expected in the new 20.0 beta 4.


Using Beta 4.

The bug in text wrap of the sText node is still there - which happens when the sText node is rotated by an sTransform.

Firstly, here is a simple text that has been wrapped, with the green box correctly surrounding the wrapped-text.

SCR1.png
SCR1.png (310.01 KiB) Viewed 359 times


Secondly, the bug appears when the sText node is rotated, for example, 90 degrees using a sTransform node. Notice how the rotation makes the green text box incorrectly jump outside of the viewer.

SCR2.png
SCR2.png (253.28 KiB) Viewed 359 times


Here is a link to the diagnostic file:

https://www.dropbox.com/scl/fi/17ej0q7thz31h9gkg1p6r/DaVinci-Resolve-logs-20250522-000834.zip?rlkey=2t59n4r13w0fmm4f3fgrj6zif&st=4bkc6ecf&dl=0


Update 1: I checked the normal Text+ node, and there does not seem to be a similar problem when the wrapped Text+ node is rotated.

I forgot to test whether this bug occurs when the sText is rotated using the Layout tab inside the sText node itself. But perhaps that is something that can be tested when the Developers are working on this bug.

Update 2: I checked and verified that this skewing of the green box does not occur when rotation is done by the Layout tab inside the sText node itself. I saw it only happening when rotation is done by the sTransform node.
Offline

rsf123

  • Posts: 512
  • Joined: Tue May 21, 2019 3:05 pm
  • Real Name: Roger Smith

Re: Text wrap bug in sText, whereas wrap in Text+ is ok

PostWed May 28, 2025 4:46 am

I just verified that this bug is still in the final non-beta release of Davinci Resolve v20 released today.

To be sure, rather than re-using Projects that I had created using betas, I started a Project from scratch in newly-released, non-beta version 20. The bug is still there, as shown in the screenshot below, namely: that when you use an sTransform node to rotate the sText that has been wrapped, the green box jumps out of the screen perimeter area.

Question: Is it safe to use version 20 (non-beta) for sText word wrap, or can this bug fatally corrupt any Fusion composition that uses text-wrap in the sText node?

SCR-20250528-mzsw.png
SCR-20250528-mzsw.png (434.52 KiB) Viewed 241 times
Offline

Peter Chamberlain

Blackmagic Design

  • Posts: 14920
  • Joined: Wed Aug 22, 2012 7:08 am

Re: Text wrap bug in sText - bug still in final release

PostWed May 28, 2025 8:34 am

We are still looking into this, in the meantime, as a workaround can you isolate transforms to a separate transform node after the sText.
DaVinci Resolve Product Manager

Return to DaVinci Resolve

Who is online

Users browsing this forum: AKH1974, Bing [Bot], dennis9880, Google [Bot], mpetech, panos_mts, Wolfie999 and 365 guests