Issue 11601

GTK client doesn't show return shipment icon
Nosy list
ced, edbo, roundup-bot
Assigned to

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


New changeset fe53a66a22ee by Cédric Krier in branch '6.4':
Flip icon

New changeset 7614b3f9369c by Cédric Krier in branch '6.2':
Flip icon

New changeset b3f984406c09 by Cédric Krier in branch '6.0':
Flip icon
New changeset 7c93c78e2656 by Cédric Krier in branch 'default':
Flip icon
New changeset 92ab6b78b29b by Cédric Krier in branch 'default':
Flip icon
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:

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 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?

Date User Action Args
2022-10-12 19:45:37roundup-botsetkeyword: - backport
messages: + msg78917
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

Showing 10 items. Show all history (warning: this could be VERY long)