[Bug 1369424] Re: LibreOffice windows and dialogs do not receive focus on startup (KDE, Razorqt)

Bug Watch Updater 1369424 at bugs.launchpad.net
Fri Oct 3 03:09:45 UTC 2014


Launchpad has imported 3 comments from the remote bug at
https://bugs.kde.org/show_bug.cgi?id=339621.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2014-10-03T01:22:45+00:00 cleary wrote:

Symptom:
LibreOffice dialogs (such as password prompts, plaintext/csv imports etc) are not made visible if a LibreOffice app is running and minimised - it uses the minimised window as a parent, but does not raise the window to make it visible.

This causes a fairly severe usability issue, where it seems like
LibreOffice has crashed, since nothing seems to happen when you click
(and continue to click) to open a file that requires user action on a
dialog.

I've replicated the issue in KDE and RazorQT which both use the kde-
window-manager

I've tested the following:
Ubuntu 12.04/14.04/14.10 alpha
Debian unstable: with kwin 4.11.12

The issue does not occur in Unity or Gnome.

I made two videos - based on:

Ubuntu 12.04, bog standard install. Add kde via:
  sudo apt-get install kubuntu-desktop

add this ppa: https://launchpad.net/~libreoffice/+archive/ubuntu/libreoffice-4-3
upgrade all libreoffice packages to 4.3.x:
  sudo apt-get install $(dpkg -l | grep libreoffice | awk '{print $2}')

Video 1: Unity Desktop, expected (correct) behaviour
https://drive.google.com/file/d/0BxhtBAYzjZj5V1V1NjRTRVRKZ0E/edit?usp=sharing

Video 2: Logged out of Unity, logged into KDE Desktop - unexpected behaviour, as described by this bug:
https://drive.google.com/file/d/0BxhtBAYzjZj5ODZ2RG1GZHZtUEE/edit?usp=sharing

I've had a bit of trouble finding what to log this against, so there are
a couple of related bugs floating around other trackers. I was helped in
this (the right?) direction by kde-pepo in the #qt-labs channel, so I'll
try and get the others cleaned up and pointing here.

On a side note, this is currently a showstopper for a rollout of ~200
desktops. I'm happy to consider a bounty style encouragement bonus, as a
kde donation or otherwise if that will assist in getting the problem
solved quickly.

Thanks, 
Bernard Gray

Reproducible: Always

Steps to Reproduce:
1. Create a csv file, save it somewhere in the filesystem, close it
2. Open Libreoffice writer window, minimise it
3. Using a file browser, open the saved csv file 


Actual Results:  
The text import dialog is attached to the minimised Writer window which becomes it's parent, but the Writer window stays minimised with no particular visual clue that anything is happening or waiting for input.

Video:
https://drive.google.com/file/d/0BxhtBAYzjZj5ODZ2RG1GZHZtUEE/edit?usp=sharing

Expected Results:  
Video: 
https://drive.google.com/file/d/0BxhtBAYzjZj5V1V1NjRTRVRKZ0E/edit?usp=sharing

Reply at: https://bugs.launchpad.net/ubuntu/+source/kde-
workspace/+bug/1369424/comments/3

------------------------------------------------------------------------
On 2014-10-03T01:38:31+00:00 Christoph-maxiom wrote:

Created attachment 88932
Sample CSV file from Wikipedia

Reply at: https://bugs.launchpad.net/ubuntu/+source/kde-
workspace/+bug/1369424/comments/4

------------------------------------------------------------------------
On 2014-10-03T02:31:04+00:00 Christoph-maxiom wrote:

Reproducible with 4.14.1 and LibreOffice 4.3.2.2.

When right-clicking the file, use "Open With > LibreOffice Calc", not
Writer.

LibreOffice "demands attention", though, at least the panel unhides. It
looks like Unity catches the new dialog on the minimized window, and
forces a restore. Should be solvable with a KWin script, e.g.

    workspace.clientAdded.connect(function(client) {
      client.minimized = false;
    });


Bernard, to test KWin scripts, type this in Konsole:

    qdbus org.kde.plasma-desktop /MainApplication
showInteractiveKWinConsole

Then an Editor/Output window appears. Paste the above 3-line script
there, and click "Execute". Then try to reproduce again.

Thomas might provide an improved and installable version.

Reply at: https://bugs.launchpad.net/ubuntu/+source/kde-
workspace/+bug/1369424/comments/5


** Changed in: kde-workspace (Ubuntu)
       Status: Unknown => New

** Changed in: kde-workspace (Ubuntu)
   Importance: Unknown => High

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kde-workspace in Ubuntu.
https://bugs.launchpad.net/bugs/1369424

Title:
  LibreOffice windows and dialogs do not receive focus on startup (KDE,
  Razorqt)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/kde-workspace/+bug/1369424/+subscriptions




More information about the kubuntu-bugs mailing list