Issue 109584 - Full-screen presentation triggered via API doesn't work
Summary: Full-screen presentation triggered via API doesn't work
Alias: None
Product: Impress
Classification: Application
Component: programming (show other issues)
Version: OOo 3.2
Hardware: Mac Mac OS X, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
Depends on:
Reported: 2010-02-24 20:16 UTC by tino.rachui
Modified: 2013-02-07 22:42 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---

A complete test program to reproduce the issue (41.29 KB, application/octet-stream)
2010-02-25 16:16 UTC, tino.rachui
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description tino.rachui 2010-02-24 20:16:35 UTC
On Mac OS X (Snow Leopard, 10.6.2) I cannot correctly start a presentation in full-screen mode via API 
when using OOo 3.2/SDK 3.2. All I get is a white full-screen window with scrollbars at the right and at 
the bottom. I have to click into this window first to actually start the presentation. Everything works fine 
though when I start a presentation in window-only mode via API or generally when a full-screen 
presentation is started manually from with Impress. 

To reproduce this problem you can for instance simply take the OOo SDK example 'DocumentLoader' 
from the cpp examples and slightly modify it. Load an impress presentation and try to start it via API. I 
have tried it both ways using 'XPresentation->start()' or 'XPresentation2->startWithArguments(...)' 
using several different combination of arguments e.g.:
Sequence<PropertyValue> presProps(2);
PropertyValue p1;
p1.Name = OUString::createFromAscii("IsFullScreen");
p1.Value <<= false;
PropertyValue p2;
p2.Name = OUString::createFromAscii("IsAlwaysOnTop");
p2.Value <<= true;
presProps[0] = p1;
presProps[1] = p2;

Neither way worked correctly.
Comment 1 groucho266 2010-02-25 09:43:40 UTC
@tra: The presentation is internally started via the start() method as well.  As
this works quite well I need more information about what happens in your code
before or after this call.  A more complete code sample would be helpful.
Comment 2 tino.rachui 2010-02-25 16:16:53 UTC
Created attachment 68023 [details]
A complete test program to reproduce the issue
Comment 3 tino.rachui 2010-02-25 16:19:54 UTC
@af: Ok, I've attached a complete test program now. It's derived from the OOo cpp SDK example 
'DocumentLoader'. In an OOo SDK env you simple 'make' it and run it via 'make' 
but you probably know that better than me. ;)