Skip to content

Use overlay to show empty message #2567

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 17 commits into
base: main
Choose a base branch
from

Conversation

jeremypw
Copy link
Collaborator

@jeremypw jeremypw commented Mar 22, 2025

Fixes #1224

Use an overlay in preference to using custom drawing or a stack so that user input and DnD still goes to view (except if dropped onto the empty label).

Custom drawing could probably still be done in Gtk4 using Snapshot and Paintable functions but I would prefer to avoid this if possible.

@jeremypw jeremypw marked this pull request as ready for review March 24, 2025 19:06
# Conflicts fixed:
#	src/View/AbstractDirectoryView.vala
@jeremypw jeremypw added this to the 7.2.0 milestone Jun 13, 2025
@jeremypw jeremypw requested a review from a team June 13, 2025 12:48
Copy link
Contributor

@zeebok zeebok left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code looks good. I can give this some testing tomorrow when I get home if desired

@jeremypw
Copy link
Collaborator Author

@zeebok Thanks for the review! Practical testing by another person is always preferable if possible but there is no hurry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Creating a new file/folder in an empty folder momentarily shows labels too big
4 participants