Skip to content

Conversation

@carsteneu
Copy link

The "Open with" functionality was lost when commit d1ea12a ("menu: Simplify path buttons") refactored RecentButton/FavoriteButton into the generic PathButton class.

This fix adds context menu support to PathButton:

  • Enable withMenu for type='recent' and type='favorite'
  • Add populateMenu() method with "Open with" functionality
  • Add hasLocalPath() helper for URI validation

The menu provides:

  • Default application option
  • List of compatible applications
  • "Other application..." (launches nemo-open-with)

Fixes: #13440

The "Open with" functionality was lost when commit d1ea12a
("menu: Simplify path buttons") refactored RecentButton/FavoriteButton
into the generic PathButton class.

This fix adds context menu support to PathButton:
- Enable withMenu for type='recent' and type='favorite'
- Add populateMenu() method with "Open with" functionality
- Add hasLocalPath() helper for URI validation

The menu provides:
- Default application option
- List of compatible applications
- "Other application..." (launches nemo-open-with)

Fixes: linuxmint#13440
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Recent files "Open with" functionality missing in 22.3

1 participant