Skip to content
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

[Bug]: Notes field EntryRow cannot show full contents (except scrolling while editing) #1039

Open
nekohayo opened this issue Jun 24, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@nekohayo
Copy link

Describe the bug

Kind of a follow-up to #917 (comment) now that I can test it as part of the nice 0.8.x release. The notes field does not allow reading longer contents.

One easy (but not touch-friendly) way to workaround this for starters could be to simply show the contents in a GtkTooltip on hover. It would at least be better than nothing, I guess.

Another more complicated way could be to use the approach mentioned in the comment linked above:

Should it be split into two? :

  1. textview just to display it
  2. an "edit note" button on the profile menu with a dialog for editing it

Or maybe a GtkLabel in a row (with the edit button), somehow?

Essentially you are hitting the same presumed widgetry limitation issue as https://gitlab.gnome.org/GNOME/nautilus/-/issues/46#note_2136093 ; is there a widget that can actually accomplish this?

Steps To Reproduce

  1. Write a long note on someone's profile

Logs and/or Screenshots

No response

Instance Backend

Mastodon

Operating System

Fedora 39

Package

Flatpak

Troubleshooting information

os: GNOME 46 (Flatpak runtime)
prefix: /app
flatpak: true
version: 0.8.0 (production)
gtk: 4.14.4 (4.14.4)
libadwaita: 1.5.1 (1.5.1)
libsoup: 3.4.4 (3.4.4)
libgtksourceview: 5.12.0 (5.12.0)

Additional Context

No response

@nekohayo nekohayo added the bug Something isn't working label Jun 24, 2024
@GeopJr
Copy link
Owner

GeopJr commented Jun 25, 2024

As it is, it should still be readable - even if terrible for longer inputs - by editing/clicking on it and scrolling/moving the cursor.

Yep, it's the same issue as the nautilus one. I can either create a custom row with a text view, do my suggestion on that other comment, or maybe an action row with a button?

image

But that button will either show a popup with an entry or a dialog etc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants