Bug#694982: libreoffice: automatically raises windows upon receiving focus

2013-03-23 Thread Ross Vandegrift
Package: libreoffice
Version: 1:4.0.2~rc1-1
Followup-For: Bug #694982

This bug still exists in the current 4.0 from experimental.  There is an
option to disable mouse positioning at: Options -> LibreOffice -> View
-> Mouse -> Mouse positioning.  This option does not work.

Looking through the LibreOffice source, there's a ton of weird input and
focus manipulation happening in vcl/unx/generic/window/salframe.cxx.
The comments indicate that much of that code is *designed* to break
window manager focus handling - features like focus follows mouse are
mentioned explicitly.  Seems like quite a bit of effort went into making
this reliably break window managers - I doubt it'll ever be fixed.

Ross

-- System Information:
Debian Release: 7.0
  APT prefers testing
  APT policy: (500, 'testing'), (40, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libreoffice depends on:
ii  fonts-sil-gentium-basic 1.1-5
ii  libreoffice-base1:4.0.2~rc1-1
ii  libreoffice-calc1:4.0.2~rc1-1
ii  libreoffice-core1:4.0.2~rc1-1
ii  libreoffice-draw1:4.0.2~rc1-1
ii  libreoffice-filter-mobiledev1:4.0.2~rc1-1
ii  libreoffice-impress 1:4.0.2~rc1-1
ii  libreoffice-java-common 1:4.0.2~rc1-1
ii  libreoffice-math1:4.0.2~rc1-1
ii  libreoffice-report-builder-bin  1:4.0.2~rc1-1
ii  libreoffice-writer  1:4.0.2~rc1-1
ii  python-uno  1:4.0.2~rc1-1
ii  ttf-dejavu  2.33-3

Versions of packages libreoffice recommends:
ii  fonts-liberation  1.07.2-6
ii  libpaper-utils1.1.24+nmu2

Versions of packages libreoffice suggests:
ii  cups-bsd  1.5.3-2.15
ii  default-jre [java5-runtime]   1:1.7-48
pn  gstreamer1.0-ffmpeg   
pn  gstreamer1.0-plugins-bad  
pn  gstreamer1.0-plugins-base 
pn  gstreamer1.0-plugins-good 
pn  gstreamer1.0-plugins-ugly 
ii  hunspell-en-us [hunspell-dictionary]  20070829-6
pn  hyphen-hyphenation-patterns   
ii  icedove   17.0.4-1
ii  iceweasel 19.0.2-1
ii  imagemagick   8:6.7.7.10-5
ii  libgl1-mesa-glx [libgl1]  8.0.5-3
ii  libreoffice-gnome 1:4.0.2~rc1-1
pn  libreoffice-grammarcheck  
pn  libreoffice-help-4.0  
pn  libreoffice-l10n-4.0  
pn  libreoffice-officebean
ii  libsane   1.0.22-7.4
ii  libxrender1   1:0.9.7-1
pn  myspell-dictionary
ii  mythes-en-us [mythes-thesaurus]   1:3.3.0-4
pn  openclipart-libreoffice   
ii  openjdk-7-jre [java5-runtime] 7u3-2.1.6-1
ii  pstoedit  3.60-2+b1
pn  unixodbc  

Versions of packages libreoffice-core depends on:
ii  fontconfig  2.9.0-7.1
ii  fonts-opensymbol2:102.2+LibO3.5.4+dfsg-4
ii  libatk1.0-0 2.4.0-2
ii  libboost-date-time1.49.01.49.0-3.2
ii  libc6   2.17-0experimental2
ii  libcairo2   1.12.2-3
ii  libclucene-contribs12.3.3.4-2
ii  libclucene-core12.3.3.4-2
ii  libcmis-0.3-3   0.3.1-1
ii  libcups21.5.3-2.15
ii  libcurl3-gnutls 7.26.0-1+wheezy1
ii  libdbus-1-3 1.6.8-1
ii  libdbus-glib-1-20.100.2-1
ii  libexpat1   2.1.0-1
ii  libexttextcat0  3.2.0-2
ii  libfontconfig1  2.9.0-7.1
ii  libfreetype62.4.9-1.1
ii  libgcc1 1:4.7.2-5
ii  libgdk-pixbuf2.0-0  2.26.1-1
ii  libglib2.0-02.33.12+really2.32.4-5
ii  libgraphite2-2.0.0  1.1.3-1
ii  libgstreamer-plugins-base1.0-0  1.0.5-1
ii  libgstreamer1.0-0   1.0.5-1
ii  libgtk2.0-0 2.24.10-2
ii  libhunspell-1.3-0   1.3.2-4
ii  libhyphen0  2.8.3-2
ii  libice6 2:1.0.8-2
ii  libicu484.8.1.1-10
ii  libjpeg88d-1
ii  liblangtag1 0.4.0-5
ii  liblcms2-2  2.2+git20110628-2.2
ii  libldap-2.4-2   2.4.31-1
ii  libmythes-1.2-0 2:1.2.2-1
ii  libneon27-gnutls0.29.6-3
ii  libnspr42:4.9.2-1
ii  libnspr4-0d 2:4.9.2-1
ii  libnss3 2:3.14.3-1
ii  libpango1.0-0   1.30.0-1
ii  libpng12-0  1.2.49-1
ii  librd

Bug#694982: libreoffice: automatically raises windows upon receiving focus

2012-12-02 Thread Tom Jones
Package: libreoffice
Version: 1:3.5.4+dfsg-4
Severity: normal

Libreoffice raises windows on receiving focus.  This makes it pretty much
unusable with a focus-follows-mouse window manager focus policy.  Apparently it
is also problematic in many situations with a click-to-focus policy.  There is
not a good reason for any application to behave like this.  I'm not aware of
other applications that behave like this, though I seem to remember I have
encountered proprietary apps in the past that have done.

Upstream bug reports span almost a decade:

- 
- 
- 
- 




-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libreoffice depends on:
ii  fonts-sil-gentium-basic [ttf-sil-gentium-basic]  1.1-5
ii  liblucene2-java  2.9.4+ds1-4
ii  libreoffice-base 1:3.5.4+dfsg-4
ii  libreoffice-calc 1:3.5.4+dfsg-4
ii  libreoffice-core 1:3.5.4+dfsg-4
ii  libreoffice-draw 1:3.5.4+dfsg-4
ii  libreoffice-filter-mobiledev 1:3.5.4+dfsg-4
ii  libreoffice-impress  1:3.5.4+dfsg-4
ii  libreoffice-java-common  1:3.5.4+dfsg-4
ii  libreoffice-math 1:3.5.4+dfsg-4
ii  libreoffice-report-builder-bin   1:3.5.4+dfsg-4
ii  libreoffice-writer   1:3.5.4+dfsg-4
ii  ttf-dejavu   2.33-3
ii  ttf-sil-gentium-basic1.1-5

Versions of packages libreoffice recommends:
ii  libpaper-utils  1.1.24+nmu2
ii  ttf-liberation  1.07.2-6

Versions of packages libreoffice suggests:
pn  cups-bsd   
ii  default-jre [java5-runtime]1:1.6-47
ii  gstreamer0.10-ffmpeg   0.10.13-5
ii  gstreamer0.10-plugins-bad  0.10.23-7
ii  gstreamer0.10-plugins-base 0.10.36-1
ii  gstreamer0.10-plugins-good 0.10.31-3+nmu1
ii  gstreamer0.10-plugins-ugly 0.10.19-2+b2
ii  hunspell-en-us [hunspell-dictionary]   20070829-6
pn  hyphen-hyphenation-patterns
ii  iceweasel  10.0.11esr-1
ii  imagemagick8:6.7.7.10-5
ii  libgl1-mesa-glx [libgl1]   8.0.4-2
ii  libldap-2.4-2  2.4.31-1
ii  libreoffice-filter-binfilter   1:3.5.4+dfsg-4
ii  libreoffice-gnome  1:3.5.4+dfsg-4
pn  libreoffice-grammarcheck   
ii  libreoffice-help-en-gb [libreoffice-help-3.5]  1:3.5.4+dfsg-4
ii  libreoffice-help-en-us [libreoffice-help-3.5]  1:3.5.4+dfsg-4
ii  libreoffice-l10n-en-gb [libreoffice-l10n-3.5]  1:3.5.4+dfsg-4
pn  libreoffice-officebean 
ii  libsane1.0.22-7.4
ii  libxrender11:0.9.7-1
ii  myspell-en-gb [myspell-dictionary] 1:3.3.0-4
ii  mythes-en-us [mythes-thesaurus]1:3.3.0-4
pn  openclipart-libreoffice
ii  openjdk-6-jre [java5-runtime]  6b24-1.11.5-1
ii  pstoedit   3.60-2+b1
pn  unixodbc   

Versions of packages libreoffice-core depends on:
ii  fontconfig   2.9.0-7
ii  fonts-opensymbol 2:102.2+LibO3.5.4+dfsg-4
ii  libc62.13-37
ii  libcairo21.12.2-2
ii  libcmis-0.2-00.1.0-1+b1
ii  libcurl3-gnutls  7.26.0-1
ii  libdb5.1 5.1.29-5
ii  libexpat12.1.0-1
ii  libexttextcat0   3.2.0-2
ii  libfontconfig1   2.9.0-7
ii  libfreetype6 2.4.9-1
ii  libgcc1  1:4.7.2-4
ii  libglib2.0-0 2.33.12+really2.32.4-3
ii  libgraphite2-2.0.0   1.1.3-1
ii  libgstreamer-plugins-base0.10-0  0.10.36-1
ii  libgstreamer0.10-0   0.10.36-1
ii  libhunspell-1.3-01.3.2-4
ii  libhyphen0   2.8.3-2
ii  libice6  2:1.0.8-2
ii  libicu48 4.8.1.1-10
ii  libjpeg8 8d-1
ii  libmythes-1.2-0  2:1.2.2-1