A window has a child floating window, when it fullscreen, unity's panel show over fullscreen window

Bug #1096856 reported by jinchizhong
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Unity
Triaged
Low
Unassigned
unity (Ubuntu)
Triaged
Low
Unassigned

Bug Description

run follow code....
============================================================
#!/usr/bin/env ruby

require 'Qt4'
app = Qt::Application.new ARGV
w = Qt::MainWindow.new
t = Qt::ToolBar.new
t.addAction("xxx")
w.addToolBar(t)
w.showFullScreen
app.exec
============================================================
Drag mainwindow's toolbar, let it floating, then unity's panels show over mainwindow.
Drag mainwindow's toolbar, let it docked, then unity's panels is covered by mainwindow.

Revision history for this message
jinchizhong (jinchizhong) wrote :
Revision history for this message
Omer Akram (om26er) wrote :

I get this when i execute your code. What am I missing? I have qt installed.

/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- Qt4 (LoadError)
 from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
 from ./aa.rb:3:in `<main>'

Changed in unity:
status: New → Incomplete
Revision history for this message
jinchizhong (jinchizhong) wrote :

sorry, run follow command first:
sudo apt-get install ruby-qt4

Revision history for this message
Omer Akram (om26er) wrote :

Ok, I can reproduce that now.

Changed in unity:
status: Incomplete → Confirmed
importance: Undecided → Low
Revision history for this message
jinchizhong (jinchizhong) wrote :

OK, thank you.
But, could you increase importance?
Some function of our product on unity desktop looks awful.
Our product is WPS for linux(A substitute of Microsoft Office).
Functions, looks awful, are fullscreen read for writer, rehearse timing for presentation.

Revision history for this message
jinchizhong (jinchizhong) wrote :

WPS for linux is still alpha.
You can write a message to <email address hidden> get a test copy.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

This behaviour was intentional and makes sense when the floating window is a different app. For example:
  1. Open a web browser and full screen. Unity disappears.
  2. Open a terminal: Ctrl+Alt+T. Unity re-appears.

Unity is designed and meant to be visible whenever the top-most window is not fullscreen. However it sounds like what we really want is "whenever the focussed window is not full screen".

Changed in unity (Ubuntu):
importance: Undecided → Low
status: New → Triaged
Changed in unity:
status: Confirmed → Triaged
Revision history for this message
jinchizhong (jinchizhong) wrote :

I think you do not understand what I said.
See my second app.
When it run, it looks good.
But when you click "click here" button, unity appear.
And wherever you click, unity panels could not dis-appear.

Revision history for this message
jinchizhong (jinchizhong) wrote :
Revision history for this message
jinchizhong (jinchizhong) wrote :

And I have test it on unity2D, KDE, GNOME3
No problem on there windows manager.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

It's OK. I understand and remember the Unity source code that would be causing this :)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.