pharo icon indicating copy to clipboard operation
pharo copied to clipboard

An Iceberg Authentication Error gives a message box with a single line that doesn't wrap (so can't read it all)

Open macta opened this issue 10 months ago • 1 comments

Bug description When you get an Iceberg authentication error, the resulting alert box shows a message on a single line that extends beyond the size you can stretch the message box - it should wrap the text.

I think its the context application messages like #newAlert that need looking at as I suspect all messages are impacted.

To Reproduce Steps to reproduce the behavior:

  1. see bug: https://github.com/pharo-project/pharo/issues/16391

Expected behavior Should get a mssage box that wraps text - I believe this applies to all the variants of the system message UI

Screenshots If applicable, add screenshots to help explain your problem.

image

Version information:

  • OS: [e.g. iOS] MacOS
  • Version: [e.g. 1.6.1] na/
  • Pharo Version [e.g 9] Pharo-12 dev image from 12-apr

Expected development cost

Should be a small fix - either use a wrapping text control or format the message string to a fixed size (not as good as screen sizes vary - but might be able to determine a good size based on the environment.

Additional context Add any other context about the problem here.

macta avatar Apr 12 '24 08:04 macta

A similar issue happens with merge warning - the info prompt isn't calculating a good size (can definitely do better)

image

macta avatar May 08 '24 22:05 macta