Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Dolphin Dolphin
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 7
    • Issues 7
    • List
    • Boards
    • Service Desk
    • Milestones
  • Bugzilla
    • Bugzilla
  • Merge requests 33
    • Merge requests 33
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • System
  • DolphinDolphin
  • Merge requests
  • !365

Merged
Created Mar 25, 2022 by Kai Uwe Broulik@broulik🍇Developer

[ViewProperties] Fix applying default roles and add some more special views

  • Overview 19
  • Commits 2
  • Pipelines 7
  • Changes 1

Consider existing roles in convertAdditionalInfo

Otherwise all default overrides for roles we perform in this class are moot.


Now that they work:

Apply better default roles for special views

This adds the following additional special view modes (some of them were already there but broken because they weren't applied, or were changed to have better defaults now that they are actually used):

  • Recent Files and Recent Documents, timeline: Details view with Name, Path, Modified
  • Search For Images: Icon view with Name, Dimensions, Date Time of the Picture
  • Search For Audio: Details view with Name, Artist, Album, Duration
  • Search For Videos: Icon view with just Name
  • Search For everything else, including Documents: Details view with Name, Path, Modified
  • Trash: Details view with Name, (Original) Path, Deletion Time

I think this should go into 22.04, but please test whether all the custom view modes are applied properly. In doubt for testing delete (rename) your ~/.local/share/dolphin/view_properties to reset it to defaults.

Seems to work fine, the only issue is that Dolphin resizes the "Path" column to fit and it might shift the "modified" column out of view (scroll horizontally)

@elvisangelaccio @ngraham

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: work/kbroulik/viewprops-defaults