hydrus icon indicating copy to clipboard operation
hydrus copied to clipboard

Sibling/parent petition history causes wide windows if you use a lengthy note

Open roachcord3 opened this issue 1 year ago • 0 comments

Hydrus version

v532a

Qt major version

Qt 6

Operating system

macOS other (specify in comments)

Install method

Running from source

Install and OS comments

macOS Ventura 13.4.1 (Intel)

About dialog for dependencies:

about_hydrus

Bug description and reproduction

This problem stems exactly from the buttons not wrapping text or trimming the text with ellipses. A long note in the history will be rendered in a single button that's one line tall, making it extremely wide, sometimes bigger than your screen.

Pretty simple reproduction case:

  1. Petition some tag/sibling/parent on a non-local service (e.g. PTR) with a long note, hundreds of characters at least. I don't think you even need to push the petition, just apply it.
  2. Open the petition dialog again and "enjoy" your very wide dialog window!

My recommended solution would be to truncate the text in the button with ellipses to make it fit in the width of the dialog window, however big that is for the user; then, to make sure the user can read the whole text just in case, the whole text should be shown as a tooltip when hovering over the button. A reminder at the top of the dialog window to hover over the buttons to see the full text should also be included to improve the UX a bit and to preempt some questions from confused users.

Log output

No response

roachcord3 avatar Jun 23 '23 23:06 roachcord3