mail icon indicating copy to clipboard operation
mail copied to clipboard

Fix webview scroll

Open jeremypw opened this issue 1 year ago • 2 comments

Fixes #950

The currently used version of WebView does not interact properly with Gtk's size allocation when buried inside a scrolled window inside a revealer inside a listbox ...

The only solution I could find was to not show the webview within the list box but to show it in a separate pane of of a Gtk.Paned so that the native scrolling ability of WebView is used. Clearly, this changes the UI significantly so may not be acceptable but at least the message contents of long messages are always visible.

Screenshot from 2024-01-22 12 21 19

Image shows a thread with 4 messages. The most recent message header is shown expanded, the rest are below it in a scrolled window (i.e. reversed order compared to master). This is because of problems controlling where the divider of the vertical pane is placed automatically.

jeremypw avatar Nov 10 '23 19:11 jeremypw

@danirabbit Is this a viable approach? Or as elementary 8 is not too far off (hopefully) can this bug remain until we see if it resolved by upstream updates?

jeremypw avatar Jan 22 '24 10:01 jeremypw

Up: Mail is practically unusable since September, a weird temporary fix is still better than a broken app, isn't it? Would be happy if you considered releasing this fix

TomiOhl avatar Feb 27 '24 23:02 TomiOhl

Closing since #982 was merged

danirabbit avatar May 21 '24 16:05 danirabbit

Closing since #982 was merged

Forgive me for the annoyance, but I am a bit confused on if this was included in a release or not. I am still having issues on a fresh install of 7.1 Horus with the messages not rendering, do I need to manually update the mail app from a GitHub release or something?

elzody avatar May 29 '24 13:05 elzody

There has not been a new released of Mail yet. You can follow along with releases on this page: https://github.com/elementary/mail/releases

It looks like Mail is still building in daily for OS 7, so when the new release is made it will be available as an update for OS 7

danirabbit avatar May 29 '24 15:05 danirabbit