Package: libreoffice-writer
Version: 1:4.1.2-1
Severity: grave
Justification: causes non-serious data loss

To reproduce the problem:

0. Make sure you have a configuration with different desktops.
   With my window manager fvwm, I use:
     DeskTopSize 2x2
   and the FvwmPager module. Just in case, I've attached my fvwm
   configuration, where fvwm is run with:
     fvwm2 -cmd "ModuleSynchronous FvwmM4 -lock $HOME/etc/fvwm2rc.m4"
1. Open a first file with "libreoffice file1.odt".
2. From a different desktop (this is important to reproduce the bug!),
   open a second file with: "libreoffice file2.odt".
3. Modify the first file (file1.odt), but do not save it.
4. In the file2.odt window, type Ctrl-Q.

The effect is that LibreOffice switches to the first desktop, where
the file1.odt window is, but I can't do anything with this window.
In the list of windows, I can see a "Save docum[...]" window, but
this window doesn't appear. Even if I iconify it and reopen it from
the list of windows, it still doesn't appear (just in case it was
below some other window).

The only thing I can do is to destroy both windows via fvwm. Then,
if I reopen file1.odt, LibreOffice proposes me to start recovery,
which I accept. It says "Successfully recovered", but the changes
have been lost!

As described, this bug is always reproducible here.

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

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

Versions of packages libreoffice-writer depends on:
ii  libc6                  2.17-93
ii  libgcc1                1:4.8.2-1
ii  libicu48               4.8.1.1-13+nmu1
ii  libmwaw-0.1-1          0.1.11-1
ii  libodfgen-0.0-0        0.0.2-1
ii  libreoffice-base-core  1:4.1.2-1
ii  libreoffice-core       1:4.1.2-1
ii  libstdc++6             4.8.2-1
ii  libwpd-0.9-9           0.9.9-1
ii  libwpg-0.2-2           0.2.1-1
ii  libwps-0.2-2           0.2.9-2
ii  libxml2                2.9.1+dfsg1-3
ii  uno-libs3              4.1.2-1
ii  ure                    4.1.2-1
ii  zlib1g                 1:1.2.8.dfsg-1

Versions of packages libreoffice-writer recommends:
ii  default-jre [java5-runtime]    1:1.7-49
ii  gcj-4.6-jre [java5-runtime]    4.6.4-2
ii  gcj-4.7-jre [java5-runtime]    4.7.3-2
ii  gcj-4.8-jre [java5-runtime]    4.8.2-1
ii  gcj-jre [java5-runtime]        4:4.8.1-3
ii  libreoffice-java-common        1:4.1.2-1
ii  libreoffice-math               1:4.1.2-1
ii  openjdk-7-jre [java5-runtime]  7u25-2.3.12-4

Versions of packages libreoffice-writer suggests:
ii  libreoffice-base  1:4.1.2-1
pn  libreoffice-gcj   <none>

Versions of packages libreoffice-core depends on:
ii  fontconfig                      2.10.2-2
ii  fonts-opensymbol                2:102.3+LibO4.1.2-1
ii  libatk1.0-0                     2.10.0-2
ii  libboost-date-time1.54.0        1.54.0-3
ii  libc6                           2.17-93
ii  libcairo2                       1.12.16-2
ii  libclucene-contribs1            2.3.3.4-4
ii  libclucene-core1                2.3.3.4-4
ii  libcmis-0.3-3                   0.3.1-3
ii  libcups2                        1.6.3-1
ii  libcurl3-gnutls                 7.33.0-1
ii  libdbus-1-3                     1.6.16-1
ii  libdbus-glib-1-2                0.100.2-1
ii  libexpat1                       2.1.0-4
ii  libexttextcat-2.0-0             3.4.0-4
ii  libfontconfig1                  2.10.2-2
ii  libfreetype6                    2.4.9-1.1
ii  libgcc1                         1:4.8.2-1
ii  libgdk-pixbuf2.0-0              2.28.2-1
ii  libglib2.0-0                    2.36.4-1
ii  libgraphite2-3                  1.2.3-1
ii  libgstreamer-plugins-base1.0-0  1.2.0-1
ii  libgstreamer1.0-0               1.2.0-1
ii  libgtk2.0-0                     2.24.21-1
ii  libharfbuzz-icu0                0.9.19-1
ii  libharfbuzz0a                   0.9.19-1
ii  libhunspell-1.3-0               1.3.2-4
ii  libhyphen0                      2.8.6-3
ii  libice6                         2:1.0.8-2
ii  libicu48                        4.8.1.1-13+nmu1
ii  libjpeg8                        8d-1
ii  liblangtag1                     0.5.1-2
ii  liblcms2-2                      2.2+git20110628-2.3
ii  libldap-2.4-2                   2.4.31-1+nmu2+b1
ii  libmythes-1.2-0                 2:1.2.2-1
ii  libneon27-gnutls                0.30.0-1
ii  libnspr4                        2:4.10.1-1
ii  libnss3                         2:3.15.2-1
ii  libnss3-1d                      2:3.15.2-1
ii  libpango-1.0-0                  1.32.5-5+b1
ii  libpangocairo-1.0-0             1.32.5-5+b1
ii  libpangoft2-1.0-0               1.32.5-5+b1
ii  libpng12-0                      1.2.49-5
ii  librdf0                         1.0.16-1
ii  libreoffice-common              1:4.1.2-1
ii  libsm6                          2:1.2.1-2
ii  libssl1.0.0                     1.0.1e-3
ii  libstdc++6                      4.8.2-1
ii  libx11-6                        2:1.6.2-1
ii  libxext6                        2:1.3.2-1
ii  libxinerama1                    2:1.1.3-1
ii  libxml2                         2.9.1+dfsg1-3
ii  libxrandr2                      2:1.4.1-1
ii  libxrender1                     1:0.9.8-1
ii  libxslt1.1                      1.1.28-2
ii  libxt6                          1:1.1.4-1
ii  uno-libs3                       4.1.2-1
ii  ure                             4.1.2-1
ii  zlib1g                          1:1.2.8.dfsg-1

-- no debconf information
# Vincent Lefèvre's .fvwm2rc

include(HOME/etc/domain.m4)dnl
define(BG,HOME/wd/images/perso/chat2.jpg)dnl

# See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=339586#75
BugOpts TransliterateUtf8 on

# Increase the ClickTime threshold. This is useful when using a touchpad
# button for a double-click since:
#   * for the double-click definition, fvwm considers a time threshold
#     between the first button release event and the next button press
#     event (instead of the time between the two button press events),
#   * with touchpad buttons, the button release event occurs very early,
#     so that this time can easily be larger than 150ms (as tested with
#     the xev utility).
ClickTime 200

### Paths ##############################################################

ModulePath      FVWM_MODULEDIR:/usr/local/lib/fvwm2
ImagePath       HOME/images:/usr/local/lib/fvwm2/icons:+
ImagePath       HOME/wd/images/ifelse(WIDTH,1920,icons,icons/small):+

### Desktop ############################################################

DeskTopSize     2x2
OpaqueMoveSize  80
EdgeResistance  -1

### Colors #############################################################

HilightColor    Black   #c06077

### Styles #############################################################

ButtonStyle 1 5 25x40@1 25x60@1 75x60@0 75x40@0 25x40@1
ButtonStyle 2 5 40x25@1 40x75@1 60x75@0 60x25@0 40x25@1
ButtonStyle 4 5 25x25@1 25x75@1 75x75@0 75x25@0 25x25@1

Style "*"               BorderWidth 4, HandleWidth 4
Style "*"               Color Black/#60a0c0
Style "*"               MWMBorder, MWMButtons, MWMDecor, NoIcon
Style "*"               ActivePlacement
Style "*"               DecorateTransient
Style "*"               DontRaiseTransient, DontLowerTransient
Style "*"               EdgeMoveDelay -1, EdgeMoveResistance 20
Style "Fvwm*"           NoTitle, NoHandles, Sticky, WindowListSkip, \
                        BackColor #60c0a0
Style "FvwmConsole"     Title, Handles, WindowListHit
Style "FvwmWinList"     BorderWidth 0
Style "*CONSOLE*"       NoTitle, NoHandles, Sticky, WindowListSkip
Style "ROX-Panel"       NoTitle, NoHandles, Sticky, WindowListSkip
Style "*Alarm*"         TileCascadePlacement
Style "pspresent:*"     PositionPlacement Center
Style "Gxmessage"       PositionPlacement Center
Style "Gkrellm"         WindowListSkip

MenuStyle "*"           Foreground Black, Background Grey, Greyed SlateGrey

### Fonts ##############################################################

DefaultFont     "xft:Bitstream:size=10"
WindowFont      "xft:Bitstream:size=9"
IconFont        "xft:Bitstream:size=9"

### Menus ##############################################################

ifelse(AY, 1,
### From /etc/X11/fvwm/system.fvwm2rc
Read /etc/X11/fvwm/main-menu-pre.hook Quiet
Read main-menu-pre.hook Quiet

# Read the auto-generated menus
Read /etc/X11/fvwm/menudefs.hook Quiet
Read menudefs.hook Quiet

# Add in user additions
Read /etc/X11/fvwm/main-menu.hook Quiet
Read main-menu.hook Quiet
### end of /etc/X11/fvwm/system.fvwm2rc commands
)dnl

AddToMenu Apps "Applications" Title
+       "XTerm"                 Exec xterm
+       "Rxvt"                  Exec rxvt
+       "Gnome Terminal"        Exec gnome-terminal
+       "Emacs"                 Exec eclient
+       ""                      Nop
+       "Mutt"                  Exec xmutt
+       "Tin"                   Exec xtin
+       ""                      Nop
+       "Qalculate"             Exec qalculate
+       "Calcoo"                Exec calcoo
+       "Galculator"            Exec galculator
+       "Firefox"               Exec firefox
+       "Opera"                 Exec opera
+       "Iceowl"                Exec iceowl
+       "Volume control"        Exec gnome-volume-control
+       "GnuCash"               Exec env LC_MESSAGES=fr_FR.ISO8859-1 gnucash
+       "Liferea (RSS)"         Exec env LC_MESSAGES=fr_FR.ISO8859-1 liferea
+       "Image Magick"          Exec display
+       "Editres"               Exec editres
+       "GtkLP"                 Exec gtklp
ifelse(XVII, 1,
+       "Wicd Manager"          Exec wicd-client -n
)dnl

AddToMenu Hosts "Hosts" Title
+       "ay"                    Exec xrsh ay
+       "prunille"              Exec xrsh prunille
+       "vin"                   Exec xrsh vin
+       "xvii"                  Exec xrsh xvii
+       "ypig"                  Exec xrsh ypig
+       ""                      Nop
+       "ensl.cassis"           Exec xrsh cassis.lip.ens-lyon.fr
+       "ensl.fraise"           Exec xrsh fraise.lip.ens-lyon.fr
+       "ensl.tomate"           Exec xrsh tomate.lip.ens-lyon.fr
+       "ensl.brocoli"          Exec xrsh brocoli.lip.ens-lyon.fr
+       "ensl.patate"           Exec xrsh patate.lip.ens-lyon.fr
+       "ensl.courge"           Exec xrsh courge.lip.ens-lyon.fr
+       ""                      Nop
+       "loria"                 Exec xrsh loria

AddToMenu Misc "Miscellaneous" Title
+       "Refresh"       Refresh
+       "FvwmButtons"   Module FvwmButtons
+       "FvwmWinList"   Module FvwmWinList

AddToMenu Quit-Misc "Quit / Misc" Title
+       "Quit"          Quit
+       ""              Nop
+       "Restart fvwm"  Restart fvwm2 -cmd "ModuleSynchronous FvwmM4 -lock 
HOME/etc/fvwm2rc.m4"
+       ""              Nop
+       "Refresh"       Refresh
+       "FvwmButtons"   Module FvwmButtons
+       "FvwmConsole"   Module FvwmConsole
+       "FvwmDebug"     Module FvwmDebug --log HOME/private/fvwm.log --mask -1 
--debug 4
+       "FvwmWinList"   Module FvwmWinList

AddToMenu WindowOps "Window Ops" Title
+       "Iconify                Ctrl-Meta-W"    Iconify
+       "Move                   Props"          Move
+       "Resize"                                Resize
+       "Lower"                                 Lower
+       "Raise"                                 Raise
+       "(Un)Stick"                             Stick
+       ""                                      Nop
+       "Maximize"                              Maximize
+       "Maximize Height"                       Maximize 0 100
+       "Maximize Width"                        Maximize 100 0
+       ""                                      Nop
+       "Ident                  Ctrl-Meta-I"    Module FvwmIdent
+       "Refresh                Ctrl-Meta-L"    RefreshWindow
+       ""                                      Nop
+       "Delete                 Ctrl-Meta-D"    Delete
+       "Close                  Ctrl-Meta-C"    Close
+       "Quit                   Ctrl-Meta-Q"    Destroy

### Initialisation #####################################################

AddToFunc RestartFunction \
        "I" Module FvwmPager 0 0
+       "I" Module FvwmButtons
+       "I" Module FvwmWinList

AddToFunc InitFunction \
        "I" Desk 0 0
+       "I" RestartFunction
+       "I" Exec xcompmgr -c
+       "I" Exec gromit
+       "I" Exec gkrellm -geometry +0-0
+       "I" Exec env CONSOLE=0 LANG= xterm \
                -fn "-adobe-courier-medium-r-normal-*-11-*-*-*-*-*-*-*" \
                -geometry 80x6+ifelse(WIDTH,1920,100,76)+0 -sl 60 \
                -T "xterm (CONSOLE)" -C -n "CONSOLE"
ifelse(LORIA, 1,
+       "I" Exec idlexec
)dnl
ifelse(WIDTH, 1440,
#+      "I" Exec convert -crop 1536x960 BG - | \
#               display -resize 1440x900 -window root -
+       "I" Exec xterm -geometry 80x60+76+80 -T "xterm" -n "xterm"
,
ifelse(WIDTH, 1600,
#+      "I" Exec convert -crop 1424x1024+112+0 BG - | \
#               display -resize 1600x1200 -window root -
+       "I" Exec xterm -geometry 80x60+76+80 -T "xterm" -n "xterm"
+       "I" Exec xterm -geometry 80x60+584+80 -T "xterm" -n "xterm"
+       "I" Exec xterm -geometry 80x60+1092+80 -T "xterm" -n "xterm"
,
ifelse(WIDTH, 1680,
#+      "I" Exec convert -crop 1536x960 BG - | \
#               display -resize 1680x1050 -window root -
+       "I" Exec xterm -geometry 80x66+120+80 -T "xterm" -n "xterm"
+       "I" Exec xterm -geometry 80x66+640+80 -T "xterm" -n "xterm"
+       "I" Exec xterm -geometry 80x66+1160+80 -T "xterm" -n "xterm"
,
ifelse(WIDTH, 1920,
#+      "I" Exec convert -crop 1536x960 BG - | \
#               display -resize 1920x1200 -window root -
+       "I" Exec xterm -geometry 80x76+100+80 -T "xterm" -n "xterm"
+       "I" Exec xterm -geometry 80x76+604+80 -T "xterm" -n "xterm"
+       "I" Exec xterm -geometry 80x76+1108+80 -T "xterm" -n "xterm"
,
#+      "I" Exec display -window root BG
+       "I" Exec xterm -geometry 80x44+76+80 -T "xterm" -n "xterm"
+       "I" Exec xterm -geometry 80x50+651+0 -T "xterm" -n "xterm"
)dnl
)dnl
)dnl
)dnl
+       "I" Exec feh --bg-fill BG
ifelse(AY, 1,
+       "I" Exec env LC_MESSAGES=fr_FR.ISO8859-1 liferea --iconify
)dnl

### Functions ##########################################################

AddToFunc Raise-and-Move        C Raise
+                               M Raise
+                               M Move
+                               D RaiseLower

AddToFunc Lower-or-Move         C Lower
+                               M Move
+                               D RaiseLower

AddToFunc Raise-and-Resize      C Raise
+                               M Raise
+                               M Resize
+                               D RaiseLower

AddToFunc Lower-or-Resize       C Lower
+                               M Resize
+                               D RaiseLower

AddToFunc Windowops-or-Die      C PopUp WindowOps
+                               M PopUp WindowOps
+                               D Delete

AddToFunc Raise-and-Fct         I Raise
+                               I $*

AddToFunc StickyScroll          I Stick y
+                               I Scroll $*
+                               I Stick n

# To prevent windows from being raised by Mozilla... See:
#   From: Sylvain Sauvage <sylvain.sauv...@info.unicaen.fr>
#   Date: Thu, 19 Aug 2004 00:47:21 +0200
#   To: debian-user-fre...@lists.debian.org
#   Subject: Re: Empêcher une fenêtre de passer au premier plan
#   Message-Id: <20040819004721.4fffc...@culdesac.eriador.me>
DestroyFunc EWMHActivateWindowFunc
AddToFunc EWMHActivateWindowFunc I Focus

### Mouse Bindings #####################################################

Mouse 1         R       A       Menu Apps Nop
Mouse 2         R       A       Menu ifelse(AY,1,/Debian,Hosts) Nop
Mouse 3         R       A       Menu Quit-Misc Nop
Mouse 1         R       M       Menu Misc Nop
Mouse 2         R       M       Menu WindowOps Nop

Mouse 0         1       A       Windowops-or-Die
Mouse 1         2       A       Raise-and-Fct Maximize 0 100
Mouse 2         2       A       Maximize 0 grow
Mouse 3         2       A       Maximize 0 100
Mouse 0         3       A       Stick
Mouse 1         4       A       Raise-and-Fct Maximize 100 100
Mouse 2         4       A       Maximize grow grow
Mouse 3         4       A       Maximize 100 100
Mouse 0         5       A       Iconify
Mouse 0         6       A       Iconify

Mouse 2         TISF    A       PopUp WindowOps
Mouse 2         TISF    M       Module FvwmIdent

Mouse 1         T       A       Raise-and-Move
Mouse 3         T       A       Lower-or-Move
Mouse 1         I       A       Move-or-Iconify
Mouse 3         I       A       Move-or-Iconify
Mouse 1         SF      A       Raise-and-Resize
Mouse 3         SF      A       Lower-or-Resize
Mouse 1         SF      M       Raise-and-Move
Mouse 3         SF      M       Lower-or-Move

Mouse 4         R       A       Nop
Mouse 5         R       A       Nop

### Key Bindings #######################################################

# See Fvwm FAQ, Q 5.5
IgnoreModifiers L25

Key Left        A       CM      Scroll -100 0
Key Right       A       CM      Scroll +100 0
Key Up          A       CM      Scroll 0 -100
Key Down        A       CM      Scroll 0 +100

Key Left        A       SCM     StickyScroll -100 0
Key Right       A       SCM     StickyScroll +100 0
Key Up          A       SCM     StickyScroll 0 -100
Key Down        A       SCM     StickyScroll 0 +100

Key Left        A       SC      CursorMove -1 0
Key Right       A       SC      CursorMove +1 0
Key Up          A       SC      CursorMove 0 -1
Key Down        A       SC      CursorMove 0 +1

Key Left        A       SM      CursorMove -10 0
Key Right       A       SM      CursorMove +10 0
Key Up          A       SM      CursorMove 0 -10
Key Down        A       SM      CursorMove 0 +10

Key c           A       CM      Close
Key d           A       CM      Delete
Key i           A       CM      Module FvwmIdent
Key l           A       CM      Refresh
Key m           A       CM      Move
Key q           A       CM      Destroy
Key r           A       CM      Exec import -window root HOME/screenshot.png
Key s           A       CM      Exec import -window $[w.id] HOME/screenshot.png
Key w           A       CM      Iconify
Key plus        A       CM      Raise
Key minus       A       CM      Lower
Key Escape      A       CM      Exec xlock -mode random
Key Return      A       CM      Quit

### FvwmPager ##########################################################

ifelse(WIDTH, 1920,
*FvwmPagerGeometry      89x72+0+0
,
*FvwmPagerGeometry      65x64+0+0
)dnl
*FvwmPagerFont          "xft:Bitstream:size=9"
*FvwmPagerFore          Black
*FvwmPagerBack          #4040c0
*FvwmPagerHilight       #9878a8

### FvwmButtons ########################################################

ifelse(WIDTH, 1920,
*FvwmButtonsGeometry    88x180+0+80
,
*FvwmButtonsGeometry    64x130+0+72
)dnl
*FvwmButtonsFont        "xft:Bitstream:size=9"
*FvwmButtonsFore        Black
*FvwmButtonsBack        #9878a8
*FvwmButtonsColumns     2

# *FvwmButtons(2x2, Swallow xclock \
#       "Exec xclock -bg \\#9878a8 -geometry 68x68-2000+0 &")
*FvwmButtons(1x1, Icon map.png,         Action Move)
*FvwmButtons(1x1, Icon arrows2.png,     Action Resize)
*FvwmButtons(1x1, Icon rbomb.png,       Action Destroy)
*FvwmButtons(1x1, Icon emacs.png,       Action Exec "Emacs" eclient)
*FvwmButtons(1x1, Icon mutt.png, \
        Action (Mouse 1) Exec "Mutt" xmutt, \
        Action (Mouse 3) Exec "xterm" uxterm -T "Mutt - xvii" \
          -e ssh_wrapper ssh -t xvii zsh -c smutt)
*FvwmButtons(1x1, Icon gnome-news.png, \
        Action (Mouse 1) Exec "Tin" xtin, \
ifelse(XVII, 1,
        Action (Mouse 3) Exec "Tin" xtin
,
        Action (Mouse 3) Exec "xterm" xterm -T "Tin - xvii" \
          -e ssh_wrapper ssh -t xvii zsh -c "\"apptty; tin -ar\"")
*FvwmButtons(1x1, Icon gnome-term.png,  Action Exec "XTerm" xterm)
*FvwmButtons(1x1, Icon firefox.png,     Action Exec "Navigator" firefox)
#*FvwmButtons(2x2, Swallow xload \
#       "Exec xload -bg \\#9878a8 -geometry 68x68-2000+0 -update 2 &")

### FvwmWinList ########################################################

ifelse(WIDTH, 1920,
*FvwmWinListGeometry    88x96+0+268
,
*FvwmWinListGeometry    64x96+0+210
)dnl
*FvwmWinListFont        "xft:Bitstream:size=9"
*FvwmWinListFore        Black
*FvwmWinListBack        #9878a8
*FvwmWinListFocusBack   #886898
*FvwmWinListUseSkipList
*FvwmWinListUseIconNames
*FvwmWinListLeftJustify
*FvwmWinListMinWidth    ifelse(WIDTH,1920,96,72)
*FvwmWinListMaxWidth    ifelse(WIDTH,1920,96,72)
*FvwmWinListTruncateRight
*FvwmWinListAction      Click1 Iconify
*FvwmWinListAction      Click2 Module "FvwmIdent" FvwmIdent
*FvwmWinListAction      Click3 Iconify -1,Focus

########################################################################

# $Id: fvwm2rc.m4 64423 2013-10-24 00:31:16Z vinc17/xvii $

Reply via email to