https://bugs.freedesktop.org/show_bug.cgi?id=84571

            Bug ID: 84571
           Summary: headless libreoffice renders progress bar ...
           Product: LibreOffice
           Version: 4.3.0.2 rc
          Hardware: Other
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: framework
          Assignee: [email protected]
          Reporter: [email protected]

Just debugging some oddness is the svp backend, and I was amused to see that a
headless LibreOffice still creates (and/or renders?) a progress bar for
document loading:

#0  SvpSalGraphics::drawRect (this=0xfc11d0, nX=0, nY=0, nWidth=1, nHeight=1)
at /data/opt/libreoffice/master/vcl/headless/svpgdi.cxx:416
#1  0x00007fffebab712d in SalGraphics::DrawRect (this=0xfc11d0, nX=0, nY=0,
nWidth=1, nHeight=1, pOutDev=pOutDev@entry=0xfc09d0)
    at /data/opt/libreoffice/master/vcl/source/gdi/salgdilayout.cxx:410
#2  0x00007fffeb9a35c3 in OutputDevice::DrawRect (this=this@entry=0xfc09d0,
rRect=Rectangle = {...})
    at /data/opt/libreoffice/master/vcl/source/outdev/rect.cxx:59
#3  0x00007fffeb9aade8 in OutputDevice::DrawColorWallpaper (this=0xfc09d0,
nX=0, nY=0, nWidth=1, nHeight=1, rWallpaper=...)
    at /data/opt/libreoffice/master/vcl/source/outdev/wallpaper.cxx:74
#4  0x00007fffeb9abd06 in OutputDevice::Erase (this=0xfc09d0) at
/data/opt/libreoffice/master/vcl/source/outdev/wallpaper.cxx:90
#5  0x00007fffebac1c5c in VirtualDevice::ImplInitVirDev
(this=this@entry=0xfc09d0, pOutDev=<optimized out>, pOutDev@entry=0xfc00d0, 
    nDX=nDX@entry=1, nDY=nDY@entry=1, nBitCount=nBitCount@entry=0,
pData=pData@entry=0x0)
    at /data/opt/libreoffice/master/vcl/source/gdi/virdev.cxx:201
#6  0x00007fffebac1dce in VirtualDevice::VirtualDevice (this=0xfc09d0,
rCompDev=..., nBitCount=<optimized out>)
    at /data/opt/libreoffice/master/vcl/source/gdi/virdev.cxx:232
#7  0x00007fffeb8cbf86 in StatusBar::ImplInit (this=this@entry=0xfc00d0,
pParent=pParent@entry=0xe94b40, nStyle=nStyle@entry=16448)
    at /data/opt/libreoffice/master/vcl/source/window/status.cxx:126
#8  0x00007fffeb8cc128 in StatusBar::StatusBar (this=0xfc00d0,
pParent=0xe94b40, nStyle=16448)
    at /data/opt/libreoffice/master/vcl/source/window/status.cxx:148
#9  0x00007fffe29c4239 in framework::LayoutManager::implts_createProgressBar
(this=this@entry=0x7fffe1728f20)
    at
/data/opt/libreoffice/master/framework/source/layoutmanager/layoutmanager.cxx:893
#10 0x00007fffe29c7b53 in framework::LayoutManager::createElement
(this=0x7fffe1728f20, aName="private:resource/progressbar/progressbar")
    at
/data/opt/libreoffice/master/framework/source/layoutmanager/layoutmanager.cxx:1515
#11 0x00007fffe298e8d0 in
framework::StatusIndicatorFactory::impl_createProgress
(this=this@entry=0x7fffe0928848)
    at
/data/opt/libreoffice/master/framework/source/helper/statusindicatorfactory.cxx:417
#12 0x00007fffe298f238 in framework::StatusIndicatorFactory::initialize
(this=0x7fffe0928848, lArguments=...)
    at
/data/opt/libreoffice/master/framework/source/helper/statusindicatorfactory.cxx:102
#13 0x00007fffee88c662 in
cppuhelper::ServiceManager::Data::Implementation::createInstanceWithArguments
(this=<optimized out>, context=
    uno::Reference to (cppu::ComponentContext *) 0x7fffe35d88a8,
singletonRequest=singletonRequest@entry=false, arguments=
    uno::Sequence of length 3 = {...}) at
/data/opt/libreoffice/master/cppuhelper/source/servicemanager.cxx:712
#14 0x00007fffee8912c8 in
cppuhelper::ServiceManager::createInstanceWithArgumentsAndContext
(this=<optimized out>, ServiceSpecifier=..., 
    Arguments=uno::Sequence of length 3 = {...}, Context=uno::Reference to
(cppu::ComponentContext *) 0x7fffe35d88a8)
    at /data/opt/libreoffice/master/cppuhelper/source/servicemanager.cxx:1036
#15 0x00007fffe2a2c939 in
com::sun::star::task::StatusIndicatorFactory::createWithFrame (
    the_context=uno::Reference to (cppu::ComponentContext *) 0x7fffe35d88a8, 
    Frame=uno::Reference to ((anonymous namespace)::Frame *) 0x7fffe2f33870,
DisableReschedule=DisableReschedule@entry=0 '\000', 
    AllowParentShow=AllowParentShow@entry=1 '\001')
    at
/data/opt/libreoffice/master/workdir/UnoApiHeadersTarget/offapi/normal/com/sun/star/task/StatusIndicatorFactory.hpp:51
#16 0x00007fffe2a243f3 in (anonymous namespace)::Frame::initialize
(this=0x7fffe2f33848, xWindow=...)
    at /data/opt/libreoffice/master/framework/source/services/frame.cxx:843
#17 0x00007fffe2a519ca in implts_createFrame (sName="",
xContainerWindow=uno::Reference to (VCLXTopWindow *) 0x7fffe092c6d8, 
    xParentFrame=<synthetic pointer>, this=<optimized out>) at
/data/opt/libreoffice/master/framework/source/services/taskcreatorsrv.cxx:293
#18 (anonymous namespace)::TaskCreatorService::createInstanceWithArguments
(this=0x7fffe2f90dc0, lArguments=...)
    at
/data/opt/libreoffice/master/framework/source/services/taskcreatorsrv.cxx:188
#19 0x00007fffe296b59e in framework::TaskCreator::createTask
(this=this@entry=0x7ffffffbd3d0, sName="_blank", bVisible=bVisible@entry=false)
    at
/data/opt/libreoffice/master/framework/source/classes/taskcreator.cxx:114
#20 0x00007fffe2a1a863 in framework::Desktop::findFrame (this=0x7fffe2fb4530,
sTargetFrameName="_blank", nSearchFlags=0)
    at /data/opt/libreoffice/master/framework/source/services/desktop.cxx:921
#21 0x00007fffe29f2635 in framework::LoadEnv::impl_loadContent
(this=this@entry=0x7ffffffbd720)
    at /data/opt/libreoffice/master/framework/source/loadenv/loadenv.cxx:1029
#22 0x00007fffe29f2bc8 in framework::LoadEnv::startLoading
(this=this@entry=0x7ffffffbd720)
    at /data/opt/libreoffice/master/framework/source/loadenv/loadenv.cxx:383
#23 0x00007fffe29f2e70 in framework::LoadEnv::loadComponentFromURL
(xLoader=uno::Reference to (framework::Desktop *) 0x7fffe2fb45a8, 
    xContext=uno::Reference to (cppu::ComponentContext *) 0x7fffe35d88a8, 
    sURL="file:///data/opt/libreoffice/testfiles/CP41vsAOO401/groupshape.rtf",
sTarget="_blank", nFlags=nFlags@entry=0, 
    lArgs=empty uno::Sequence) at
/data/opt/libreoffice/master/framework/source/loadenv/loadenv.cxx:164
#24 0x00007fffe2a1376e in framework::Desktop::loadComponentFromURL
(this=0x7fffe2fb4530, 
    sURL="file:///data/opt/libreoffice/testfiles/CP41vsAOO401/groupshape.rtf",
sTargetFrameName="_blank", nSearchFlags=0, 
    lArguments=empty uno::Sequence) at
/data/opt/libreoffice/master/framework/source/services/desktop.cxx:567
#25 0x00007fffef4b735a in lo_documentLoad (pThis=0x62eeb0, pURL=<optimized
out>) at /data/opt/libreoffice/master/desktop/source/lib/init.cxx:300
#26 0x0000000000400d8b in documentLoad (pUrl=<optimized out>, this=0x6384a0)
    at
/data/opt/libreoffice/master/include/LibreOfficeKit/LibreOfficeKit.hxx:110
#27 main (argc=<optimized out>, argv=0x7fffffffdcb8) at
/data/opt/libreoffice/master/libreofficekit/qa/tilebench/tilebench.cxx:69

...

Even if it is only 1x1 pixel ;-)

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to