sqweek / dialog

Simple cross-platform dialog API for go-lang
ISC License
493 stars 76 forks source link

Selectable and scrollable message text. #20

Open Zyl9393 opened 5 years ago

Zyl9393 commented 5 years ago

A good flavor from e.g. the Qt universe is to display dialog messages in a scroll area with selectable text. It makes it much easier for users to report problems in case of error messages because they can actually copy text instead of having to make a screencap (or worse: copying it manually). I'd like to request this because it can pose a huge improvement in user experience while not being a huge feature. Most typically it's programs like games which have bad error dialogs because they do their own rendering instead of using a native GUI (well, until it crashes and they have to fall back to displaying a plain old dialog box).

sqweek commented 5 years ago

Copy/paste would be nice to have, but I'm hesitant to go down the route of cross-platform clipboard bindings and/or introduce extra dependencies. dialog is a small focused package and is not trying to compete with qt/gtk or other full cross-platform toolkits.

Maybe it could be enabled at the platform level though...