Skip to content

Cannot set arbitrary seconds in add timestamp dialog #2633

@ccowingzitron

Description

@ccowingzitron

⚠️ This issue respects the following points: ⚠️

  • This is a bug. Not a question or feature request.
  • The topic is not already reported at Issues. (I've searched it).
  • Markor is up to date. See Releases for the latest version. Updates are available from F-Droid and GitHub.
  • The bug is still present in the latest development version (git master). (Please download and try the test version of Markor, named Marder. Don't worry; Markor and Marder appear as completely separate applications. You can install both side-by-side, and Markor settings are not touched. In case the issue is resolved there, you don't need to create a bug report. The change will be part of the next Markor update.)

Description

In the add timestamp dialog, while you may enter arbitrary values for the hour ('HH') and minute ('mm') components, there is no way to set an arbitrary value for the seconds ('ss') component of the timestamp.

There are two ways to set the time components of the timestamp: by resetting the "current time" variable, or by resetting the "picked time" variable.

When you first open the add timestamp dialog, the "Use the current date & time" toggle is preselected, and all three time components of the "current time" variable are initialized to the time when the dialog is opened. I put the phrase "current time" in quotes, as the "current time" variable stays at that initialized value unless you deselect and then reselect the "Use current date & time" toggle, in which case all three components of the "current time" variable are reinitialized each time you reselect the "Use the current date & time" toggle.

Each time you open the "Pick time" dialog, all three components of the "pick time" variable are reinitialized from the corresponding components of the "current time" variable. (N.B. The "current time" variable itself is not reinitialized by opening the "Pick time" dialog.) The dialog displays a digital or analog clock showing the hour and minute components of the "pick time" variable, which may be changed independently from the "current time" variable. The clock does not display the seconds component of the "pick time" variable, which remains fixed at the value copied from the "current time" variable.

I have attached a short screen recording of the issue.

cannot_pick_seconds.mp4

Steps to reproduce

The steps to reproduce the issue are described fully in the problem description.

Information

Android version: 14
Build number : U1TFS34.100-35-14-1-2
Device: Motorola moto g play - 2024
App Version: 2.14.1

Source

Google Play

Format / File type

Something else (-> Additional info)

Additional info / Log

This issue occurred with both plaintext and Markdown, and in both the Google Play release (2.14.1) and Github marder (2.14.1-2012) installations.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions