Skip to content
Snippets Groups Projects

Simple preferences: Don't bind the preference to enqueue files to the one-instance mode preference

Open FeRD (Frank Dana) requested to merge ferdnyc/vlc:fix-enqueue into master
2 unresolved threads

In the simple prefs interface, the option to enqueue files when using one-instance mode was being disabled if the one-instance-mode pref is unchecked.

But there's a second pref, one-instance-mode when launched from the file manager, for which the enqueue option also has meaning. To ensure that users can always enable enqueue mode, remove its dependency on the one-instance-mode pref being enabled.

Fixes #28077

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Steve Lhomme resolved all threads

    resolved all threads

  • cc @chub is that OK with you ?

    • There are three flags for 8 total combinations but only 6 possible behaviours.

      I agree that playlist-enqueue should be independent. But at the same time, the existing code does have a point that not all 8 combinations make sense.

      Single instance mode should be reduced to three possibilities: always, with file, and never. This can be achieved with a 3-entry option box, a drop-down list or by hiding the with-file option when single instance is enabled. I'm no UX expert to tell what's right on that point.

      Note that we can't change the underlying flags as that would wreck havoc over the CLI.

    • Author Contributor

      It almost makes you wish the single-instance options were all inverted — e.g.:

      • Allow multiple instances: [Always / Except when started from file manager / Never]

      Compared to statements like these...

      • "Allow only one instance: Always"
      • "Allow only one instance: When started from file manager"
      • "Allow only one instance: Never"

      Which all feel somewhat convoluted, in comparison.

    • Please register or sign in to reply
  • FeRD (Frank Dana) added 126 commits

    added 126 commits

    Compare with previous version

  • added MRStatus::Stale label and removed MRStatus::InReview label

  • Please register or sign in to reply
    Loading