Issue 11601

Title
GTK client doesn't show return shipment icon
Priority
bug
Status
resolved
Nosy list
ced, edbo, roundup-bot
Assigned to
ced
Keywords
backport

Created on 2022-07-19.13:31:41 by edbo, last changed 5 days ago by roundup-bot.

Messages

New changeset 7c93c78e2656 by Cédric Krier in branch 'default':
Flip icon
https://hg.tryton.org/tryton-env/rev/7c93c78e2656
New changeset 92ab6b78b29b by Cédric Krier in branch 'default':
Flip icon
https://hg.tryton.org/modules/stock/rev/92ab6b78b29b
Author: [hidden] (ced) Tryton committer Tryton translator
Date: 2022-10-02.00:30:25

It does not seem to come soon, so let's flip the icon.

Author: [hidden] (ced) Tryton committer Tryton translator
Date: 2022-07-19.13:45:59

I guess we should try to know the ETA of the feature.

Author: [hidden] (edbo)
Date: 2022-07-19.13:42:40

Should we wait for that or can I upload the changed icon?

Author: [hidden] (ced) Tryton committer Tryton translator
Date: 2022-07-19.13:40:44

librsvg should soon support transform properties: https://gitlab.gnome.org/GNOME/librsvg/-/issues/754

Author: [hidden] (edbo)
Date: 2022-07-19.13:31:40

When you open a sale order or purchase order you will see that one shipment icon (truck riding to the left) is missing from a button at the bottom left. It's the icon which is opposite of the shipments button (truck riding to the right). This is on version 6.4 both server and client the latest bugfix release. Sao doesn't have this problem.

How to reproduce (Windows, but on Linux the same problem happens):
1. Download the latest version of the GTK client
2. Install the client
3. Start the client and go to demo6.4.tryton.org and login
4. Go to Sales -> Sales
5. Select an order and open it
6. The third button from at the bottom left does not have the icon

You can do the same for purchases. But then the first icon at the bottom left is missing.

Digging a bit deeper and the icons come from the stock module. There are two icons tryton-shipment-in.svg and tryton-shipment-out.svg. There are exactly the same except a style="transform: scale(-1,1) in the tryton-shipment-in.svg icon. Using Inkscape I used the tryton-shipment-out.svg, flipped it and overwrote the existing file. From that point on, the icon was shown correctly.

So it seems that the GTK client cannot handle the transform of the svg?

History
Date User Action Args
2022-10-02 00:32:41roundup-botsetmessages: + msg78510
2022-10-02 00:32:38roundup-botsetmessages: + msg78509
nosy: + roundup-bot
status: in-progress -> resolved
2022-10-02 00:30:25cedsetassignedto: ced
keyword: + backport
messages: + msg78508
status: chatting -> in-progress
2022-07-19 13:45:59cedsetcomponent: + stock
messages: + msg77431
2022-07-19 13:42:40edbosetmessages: + msg77430
2022-07-19 13:40:44cedsetmessages: + msg77429
nosy: + ced
status: unread -> chatting
2022-07-19 13:31:41edbocreate