Download it now!
Bug 95302 - In dialog Edit->Links Update->"Automated" ALWAYS gray/deactivated
Summary: In dialog Edit->Links Update->"Automated" ALWAYS gray/deactivated
Status: RESOLVED DUPLICATE of bug 48294
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
Depends on:
Reported: 2015-10-24 14:37 UTC by Blume
Modified: 2018-12-12 19:30 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:

edit links dialog screenshot (91.30 KB, image/jpeg)
2015-10-25 06:27 UTC, tommy27

Note You need to log in before you can comment on or make changes to this bug.
Description Blume 2015-10-24 14:37:29 UTC
1. Make new impress presentation
2. Menu -> Insert -> Object -> OlE OBJECT
3. Create from file
4. Take *.txt or ods or odt... File
5. Check "Link to file"
6. Press Ok
7. Edit -> Links... (if window is open you see file is already marked)

8. BUT! Update: Automated Manual is gray / disabled to uses. Manual is checked and cannot be reched to Automated.

The result: Always when you open the Impress-Presentation new, a dialog annoys you that asks if you want to update the file!
Comment 1 Julien Nabet 2015-10-24 17:09:08 UTC
On pc Debian x86-64 with master sources updated today, I could reproduce this.
Comment 2 tommy27 2015-10-25 06:24:57 UTC
I confirm bug under Win8.1 x64 with LibO

I tested it with older LibO releases too and it never worked.
The same behaviour is present in OOo 3.3.0 and AOO 4.1.0 as well.

so issue is "inherited from OOo"
Comment 3 tommy27 2015-10-25 06:27:41 UTC
Created attachment 119935 [details]
edit links dialog screenshot
Comment 4 Julien Nabet 2015-10-25 08:16:19 UTC
Code pointer:
cui/source/dialogs/linkdlg.cxx line 222
    222         if( FILEOBJECT & pLink->GetObjType() )
    223         {
    224             m_pRbAutomatic->Disable();
    225             m_pRbManual->Check();
    226             m_pRbManual->Disable();
    227             if( OBJECT_CLIENT_GRF == pLink->GetObjType() )
    228                 pLinkNm = 0, pFilter = &sLink;
    229         }
    230         else
    231         {
    232             m_pRbAutomatic->Enable();
    233             m_pRbManual->Enable();
Some testing show we go into the if because:
2) pLink->GetObjType() returns 0x92 (which corresponds to OBJECT_CLIENT_OLE)

Several possibilities:
1) Should FILEOBJECT macro be changed to:

2) Should pLink be initialized as OBJECT_CLIENT_SO and not OBJECT_CLIENT_OLE ?

3) These kind of links shouldn't be "updateable" indeed and so there's no bug

4) Other?

Here are the different types:
     50 #ifndef OBJECT_DDE_EXTERN
     51 #define OBJECT_INTERN       0x00
     52 //#define   OBJECT_SO_EXTERN    0x01
     53 #define OBJECT_DDE_EXTERN   0x02
     54 #endif
     56 #define OBJECT_CLIENT_SO              0x80 // a Link
     57 #define OBJECT_CLIENT_DDE           0x81
     58 //#define   OBJECT_CLIENT_OLE         0x82 // a Ole-Link
     59 //#define   OBJECT_CLIENT_OLE_CACHE   0x83 // a Ole-Link with SvEmbeddedObject
     60 #define OBJECT_CLIENT_FILE          0x90
     61 #define OBJECT_CLIENT_GRF           0x91
     62 #define OBJECT_CLIENT_OLE           0x92 // embedded link


Michael: any thoughts or any idea who may help here?
Comment 5 Blume 2015-11-05 10:56:15 UTC
@Julien Nabet

Thankyou for giving the site of the code!

It is really strange! On the one side a dialog box comes all the time for asking to update for objects which shouldnt be as here described updateable if I see so? (bug 95302)

On the other side: why to give this option if always a FILE-OBJECT is eliminated? I mean is there anyother object which has a Link which is no file and in conclusion not updateable? This sounds really silly to me.

I experimented a little and enabled the radio buttons artificially. What came out that its really PSEUDO. When you come back to the dialog when keeping the file open it doesnt forget if a Link should be updateable automatically or manual. But if you reload the file after you saved it, it forget those preferences. It seems, there is no implementation behind it?

Bug 95302 made the conclusion to only implement general settings. This bug here could come to the conclusion to either
(1) delete those radio-options described in this bug
(2) or that if in the Links-dialog are made different settings, it can overwrite the general Impress-settings
(3) Eliminating Automatic or Manual per file and summarize it for all files. Because should there be 10 dialog files at the beginning so ask each file yes or no? If in general there is manual, then you still can go to Links and click 'update' for each selected file
Comment 6 Blume 2015-11-05 11:18:04 UTC
Which speaks for (1) eleminating the radios - is that it is most easy because bug 95302 can create the more easy solution.

If for every file it need to be stored wether to be updated or not it seems that the file standard has to be changed, does it? This would affect the compatibility to Microsoft Office and other office programs much more? 

For example if I first edit in Impress. Then update something in Powerpoint. Would the update automatic/manual Information would go away? Cause then this is a minus to make the dialog links in the automatic/manual-update function really work...?

How the community thinks about it? Only general settings or also individual settings by this dialog box Links? Making those settings in Links finally work or to eliminate them because general settings are the more ergonomic solution?
Comment 7 QA Administrators 2016-11-08 12:04:34 UTC Comment hidden (obsolete)
Comment 8 Cor Nouws 2018-12-12 18:51:29 UTC
duplicate of ?
Comment 9 Cor Nouws 2018-12-12 19:30:09 UTC

*** This bug has been marked as a duplicate of bug 48294 ***