attachment - not functionals icons near the image area

Bug #324830 reported by Ferdinand
2
Affects Status Importance Assigned to Milestone
Odoo GTK Client (MOVED TO GITHUB)
Fix Released
Undecided
Unassigned

Bug Description

the attachment icon "Set image" allows to select an image(document) but it is not saved

selecting AND saving works only if the Select dialog of the "Data" Section is used.

Revision history for this message
Stephane Wirtel (OpenERP) (stephane-openerp) wrote :

Fixed

Changed in openobject-client:
status: New → Fix Released
Revision history for this message
Ferdinand (office-chricar) wrote :

not yet
1) the icons below the image are now disabled - so why do we need them ??

2) the image selected is not placed "immediately" in the preview area
example
- save image A
- select image B - but A is still displayed
- save - Image B - gets displayed only now - confusing

Changed in openobject-client:
status: Fix Released → Incomplete
Revision history for this message
Stephane Wirtel (OpenERP) (stephane-openerp) wrote :

1) Now, we use the picture widget instead of the image widget.

2) Because to replace the preview with the image, we must use an on_change event, but if we want to use this event, the client will send the image to the server, and the server will reply to the client. Not very optimal. So I prefer that the user saves his record to see the new preview.

Changed in openobject-client:
status: Incomplete → Fix Released
Revision history for this message
Stephane Wirtel (OpenERP) (stephane-openerp) wrote :

Don't forget to upgrade your server and the client.

Thanks

Revision history for this message
Ferdinand (office-chricar) wrote :

1) sorry .... ergonomic catastrophe !!!! select one file - show content of other file --- IMHO a "NO GO"
2) the field "Data" shows 991.75 Kb (correct) before and "7.00 bytes" after saving - it's just wrong....
3) the preview is now "full size" - IMHO we need a preview and "open document" with the viewer of the system.
- the best would be that the server sends a thumbnail - and "Open" fetches the full size image and opens it using the systems default viewer.
4) "Open" a pdf file uses kpdf ( why not..) but then I get endlos high disk activity - have to kill OpenERP Client

may be the filename part without extension could be copied to the attachment name - for documents this might be quite often correct.

Changed in openobject-client:
status: Fix Released → Incomplete
Revision history for this message
Stephane Wirtel (OpenERP) (stephane-openerp) wrote :

Ferdinand,

1. There are two widgets to show an image.
  a) the Image Widget with three buttons, Open, Save and Clear.
     This widget shows a scaled image if necessary
  b) the Picture Widget without buttons, but shows the image with the full size.

2. I will fix this point.

3. The preview is now in full size.
   a) a small preview ? we can generate a thumbnail as you tell, but it's very short in time to add this preview in the new version. so I propose you to make a blueprint but for the next release after v5
   b) "open document" ? you can open the file with the button "open".

4. The client tries to use the pdf file with the first viewer. in order, xdg-open, evince, xpdf, gpdf, kpdf, etc...
    Have you installed the xdg-open (use the user's preferences)

Thank you

Revision history for this message
Stephane Wirtel (OpenERP) (stephane-openerp) wrote :

I fixed the bug about the size of the binary field. Can you upgrade your server please ?

Thanks

Revision history for this message
Stephane Wirtel (OpenERP) (stephane-openerp) wrote :

I've created this blueprint to propose your idea.

https://blueprints.launchpad.net/openobject-server/+spec/image-field-with-thumbnail

Actually, I can't fix this problem

Changed in openobject-client:
status: Incomplete → Fix Released
Revision history for this message
Ferdinand (office-chricar) wrote :

OK I create a blueprint

But you promise ;-) to fix the "attachments" - I do not think that the current solution will find many friends - to many usability issues.

Revision history for this message
Ferdinand (office-chricar) wrote :
Revision history for this message
Ferdinand (office-chricar) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.