Bug 112781 - loadComponentFromUrl forces the window to full-screen
Summary: loadComponentFromUrl forces the window to full-screen
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: sdk (show other bugs)
Version:
(earliest affected)
5.4.1.1 rc
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Macro-UNOAPI
  Show dependency treegraph
 
Reported: 2017-09-30 16:45 UTC by Stéphane Aulery
Modified: 2021-01-13 16:31 UTC (History)
6 users (show)

See Also:
Crash report or crash signature:
Regression By:


Attachments
Opens new empty Writer doc from Launcher (238 bytes, text/plain)
2019-01-10 09:43 UTC, LibreOfficiant
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stéphane Aulery 2017-09-30 16:45:15 UTC
From: Daniel Watkins <daniel.watkins@credativ.co.uk>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: loadComponentFromUrl forces the window to full-screen
Date: Fri, 10 Oct 2008 12:30:43 +0100

Package: python-uno
Version: 1:3.0.0~rc4-1
Severity: normal

When using com.sun.star.frame.XComponentLoader.loadComponentFromUrl to load a
file from URL into an XFrame, the window containing the frame is forced to
full-screen, and the desired geometry has to be reset.  This shouldn't be
necessary.
Comment 1 Xisco Faulí 2017-10-01 22:17:10 UTC
Thank you for reporting the bug. Please attach a sample document, as this makes it easier for us to verify the bug. 
I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' once the requested document is provided.
(Please note that the attachment will be public, remove any sensitive information before attaching it. 
See https://wiki.documentfoundation.org/QA/FAQ#How_can_I_eliminate_confidential_data_from_a_sample_document.3F for help on how to do so.)
Comment 2 Stéphane Aulery 2017-10-02 00:30:53 UTC
I can't provide an example for a report of 2008 and I never used the sdk so I can't write one myself.
Comment 3 LibreOfficiant 2019-01-10 09:43:40 UTC
Created attachment 148201 [details]
Opens new empty Writer doc from Launcher

This testcase does not imply the reported issue is valid, but may help figure out it is.
Comment 4 LibreOfficiant 2019-01-10 10:39:23 UTC
Python attached testcase file opens an empty page in fullscreen mode on Win7 platform.
Basic below testcase opens an empty page in fullscreen mode in Win7 platform. 

--
Dim doc As Object, docProperties()
doc = StarDesktop.LoadComponentFromURL("private:factory/swriter", "_blank", 0, docProperties)
--
Comment 5 QA Administrators 2021-01-10 03:48:13 UTC Comment hidden (obsolete)
Comment 6 Alain Romedenne 2021-01-13 16:23:59 UTC
Problem persists with release 7.1 under Windows 10, using either Python or Basic.
Comment 7 Alain Romedenne 2021-01-13 16:27:05 UTC
(In reply to Alain Romedenne from comment #6)
> Problem persists with release 7.1 under Windows 10, using either Python or
> Basic.

Version: 7.1.0.0.beta1 (x64)
Build ID: 828a45a14a0b954e0e539f5a9a10ca31c81d8f53
CPU threads: 4; OS: Windows 10.0 Build 19041; UI render: Skia/Raster; VCL: win
Locale: fr-FR (fr_FR); UI: fr-FR
Calc: threaded