GNOME Bugzilla – Bug 654393
OnlineGlom: Improve the way the column background colour works in the list view
Last modified: 2021-07-05 10:52:38 UTC
Currently only the cell backgrounds are coloured which leaves a gap between the table cells that isn't coloured. We need to figure out a way to set 'style=background-colour:' on the whole column rather than just the cell. This will allow us to remove background and foreground colour strings from the GlomField (soon to be DataItem) which are now unnecessarily sent with each GlomField object when column colours are being used. Instead, the colour information should be retrieved from the layout information which is only grabbed the first time the list is loaded for a given table. This change requires the numeric processing to moved to the client side so that the colour can be changed for negative values when the layout requests this.
For instance, here: http://bagu.org:8080/OnlineGlom/#details:document=colour-tests&table=one&value=0 By the way, that .glom file should be in git somewhere.
(In reply to comment #1) > For instance, here: > http://bagu.org:8080/OnlineGlom/#details:document=colour-tests&table=one&value=0 Yep. See bug #659752. > By the way, that .glom file should be in git somewhere. Ok.
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org. As part of that, we are mass-closing older open tickets in bugzilla.gnome.org which have not seen updates for a longer time (resources are unfortunately quite limited so not every ticket can get handled). If you can still reproduce the situation described in this ticket in a recent and supported software version, then please follow https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines and create a new ticket at https://gitlab.gnome.org/GNOME/glom/-/issues/ Thank you for your understanding and your help.