Wine tooltips don't disappear entirely from screen

Bug #957879 reported by Nicolas Delvaux
30
This bug affects 6 people
Affects Status Importance Assigned to Milestone
Compiz
Fix Released
Medium
Stephen M. Webb
0.9.11
Triaged
Medium
Unassigned
compiz (Ubuntu)
Fix Released
High
Unassigned
Nominated for Trusty by Alberto Salvia Novella
Nominated for Vivid by Alberto Salvia Novella

Bug Description

This bug does not happen with Unity 2D or Gnome-Shell. Same problem on both Oneiric and Precise (up-to-date).

When a tooltip from a Wine app disappear, its shadow remains. This can quickly leads to an unusable window.
To clean these shadows, I have to move the window.

I confirmed this bug with Mathcad 14, GeNIe and some others not-known apps. It does not happen, for example, with VLC or Steam.

If you want to test with something free and lightweight, you can try with Sumatra: http://blog.kowalczyk.info/software/sumatrapdf/download-free-pdf-viewer.html

Attached is a picture of a rather extreme case (made with a non-free app).

Related branches

Revision history for this message
Nicolas Delvaux (malizor) wrote :
Revision history for this message
Nicolas Delvaux (malizor) wrote :

Oh, one more thing: this bug was confirmed on an Intel video card and on 2 ATI video cards (R300g and R600g).

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in compiz (Ubuntu):
status: New → Confirmed
Revision history for this message
tony padioleau (tony-padioleau) wrote :

après la dernière MAJ de compiz, c'est beaucoup mieux. mais maintenant, lorsque l'info-bulle se ferme, tout l'écran devient noir pendant un seconde et ça revient. ça n'arrive pas à chaque fois.
précision : j'ai activé les animations des fenêtres dans CCSM. est-ce qu'il y a un lien ?
est-ce qu'il faut faire un nouveau rapport de bug ?

merci pour le super boulot !!!

Revision history for this message
Nicolas Delvaux (malizor) wrote :

Since the last Compiz update, this bug is partially fixed (not sure if it was intended).
Black boxes are still there, but they now disappear quickly (50ms?) after tooltips.

Tony Padioleau (above) explains that since then, the screen goes black for a second when the tooltip is closing (this does not happen always). I could not reproduce it myself.

@tony : Il vaut mieux éviter de mélanger les langues dans les rapports de bugs. Si tu veux rajouter quelque chose, tu peux toujours le faire sur le rapport de bug français. Quelqu'un transmettra ensuite.

Revision history for this message
Sb (sb56637) wrote :

This bug is now happening on Vivid 15.04 beta2. The tooltips sometimes disappear, but sometimes not. Sometimes they partially disappear, sometimes they leave remnants on the screen. All of these problems disappear when I use Openbox instead of Unity+Compiz.

Revision history for this message
Sb (sb56637) wrote :
Revision history for this message
Sb (sb56637) wrote :

OK, I have discovered that the culprit is the Compiz fade animation on close for Tooltips.

=========================
Workaround:
=========================
In Compiz Settings Manager, under Animations, "Close Animation" tab, look for the window match line for Fade that reads:

(type=Menu | PopupMenu | DropdownMenu | Combo | Dialog | ModalDialog | Normal)

Edit that line and add to the end of it:

& !(class=\.exe$)

=========================
Resolution:
=========================
Please add this rule by default so as to avoid bothering Wine users. Thanks.

Revision history for this message
Sb (sb56637) wrote :

There are many Wine apps (probably all apps with tooltips) affected by this bug:

http://www.bendangelo.me/install/2014/10/29/installing-photoshop-cs6-on-ubuntu.html
"Note: Tooltips do not disappear, you can disable tooltips in the Preferences -> Interface section in Photoshop."

http://superuser.com/questions/186026/photoshop-wine-tooltip-doesnt-go-away-problem

Changed in compiz:
status: New → Triaged
Changed in compiz (Ubuntu):
status: Confirmed → Triaged
Revision history for this message
Sb (sb56637) wrote :

I just tested this in Ubuntu Mate 14.04 with its default Compiz settings (same as Ubuntu+Unity I believe) and this bug is also present.

tags: added: 14.04 15.04
Revision history for this message
Mateusz Stachowski (stachowski-mateusz) wrote :

This also happens with NVIDIA drivers. I'm on Vivid fully updated and using the 340 series drivers.

I tried using the SumatraPDF and tooltips don't dissapear completely and in my case they also flash. However if I select text in the opened .pdf or move my cursor over link in the webbrowser or this comment field the tooltips dissapear so in my case it isn't permament.

tags: added: trusty vivid
Stephen M. Webb (bregma)
Changed in compiz:
assignee: nobody → Stephen M. Webb (bregma)
importance: Undecided → Medium
milestone: none → 0.9.12.2
status: Triaged → In Progress
Revision history for this message
Sb (sb56637) wrote :

Thanks very much Stephen for working on this!

Changed in compiz (Ubuntu):
importance: Undecided → High
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package compiz - 1:0.9.12.1+15.04.20150410.1-0ubuntu1

---------------
compiz (1:0.9.12.1+15.04.20150410.1-0ubuntu1) vivid; urgency=medium

  [ CI Train Bot ]
  * New rebuild forced.

  [ Chris Townsend ]
  * Expo plugin: Make sure the Expo animation is completed before
    allowing clicks to be handled. (LP: #1026553)
  * Grid plugin: Float to int division truncating caused a 1 px gap on
    the right side of right semi-maximized window when the workspace has
    an odd width. Fix is to add 0.5 to the float division first to
    account for any truncation error. (LP: #1294864)

  [ Eleni Maria Stea ]
  * Change in GLVector implementation
  * Minor change: when the skydome was working (in the c version of
    compiz) it was rendered on top of the background so, there was no
    need to clear the screen before drawing (the skydome was rendered on
    top of the garbage from previous renderings, hiding it). In the c++
    plugin, the skydome is buggy and the background is visible (as well
    as some garbage from previous renderings). A temporary
    glClear(GL_COLOR_BUFFER_BIT) was added until we fix the skydome and
    the other cube bugs.
  * glDisableOutputClipping was not implemented in 3d.cpp => a parent
    class glDisableOutputClipping was called, causing 2d clipping
    artifacts (the 3d cube was clipped and you couldn't see the windows
    move)

  [ Marco Trevisan (Treviño) ]
  * OpenGL: don't hardcode X11 sync blacklisted models, but use settings
    instead (LP: #1441190)

  [ Stephen M. Webb ]
  * (Ubuntu packaging) migrate migration scripts to Python3. (LP:
    #1440548)
  * exclude Wine applications from window close animations (LP: #957879)
 -- CI Train Bot <email address hidden> Fri, 10 Apr 2015 21:55:34 +0000

Changed in compiz (Ubuntu):
status: Triaged → Fix Released
Stephen M. Webb (bregma)
Changed in compiz:
status: In Progress → Fix Committed
Stephen M. Webb (bregma)
Changed in compiz:
status: Fix Committed → Fix Released
Revision history for this message
da2 (hiboudev) wrote :

I have this bug with Compiz 1:0.9.12.2+16.04.20160415-0ubuntu1 (Ubuntu 16.04) even if the rule "& !(class=\.exe$)" is already there.
Actually I removed the "Dialog" in the rule to fix the issue.
Software used in Wine (1.9.8~ubuntu16.04.1) is PokerStars.

Revision history for this message
Chituc Georgian (dianaxxyyzz) wrote :

This is a patch for wine 1.8.4 stable , and fix the Photoshop Brush Tool ,and fix the Tool Tips to do not steal focus ,and the tool tips that do not dissaper from screen

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.