Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-133795

Prevent Dial Jumping from 0 to 360 When Rotating Counterclockwise

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Not Evaluated
    • None
    • None
    • Examples and Demos
    • None

    Description

      The current dial rotation logic allows values to go negative, which then immediately jumps to 360 when corrected using modulo. This creates an unintended snapping effect when the user rotates counterclockwise past 0. The fix ensures that:

      • The dial remains at 0 when moved below zero, preventing a sudden jump.
      • The rotation range remains between 0-360 in a smooth manner.
      • If the user was near 360 and slightly moves negative, it should stay at 360 instead of snapping back.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            sandi.pariyar sandi pariyar
            sandi.pariyar sandi pariyar
            Saara Korppi Saara Korppi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes