[Bug 1635625] Re: Some indicator icons are missing after unlocking the screen

2016-10-31 Thread Carlo Cannas
The culprit is revision 4187 
(http://bazaar.launchpad.net/~unity-team/unity/trunk/revision/4187): in 
lockscreen::Controller a new menu::Manager instance is created to handle the 
lockscreen indicators, then as soon the new LockScreenDBusIndicators instance 
connects to the new com.canonical.Unity.Panel.Service.LockScreen bus it calls 
DBusIndicators::Impl::OnIconsPathChanged, which asks the lockscreen panel 
service for icon paths, but the *lockscreen* panel service is just started and 
doesn't know any of the new paths needed for the indicators which provide 
custom icons, so it just reports the default icon theme search paths. An 
icon_paths_changed signal is emitted which invokes 
menu::Manager::Impl::IconPathsChanged that sets the search paths for the 
default GTK icon theme (which is a global shared resource of the process).
After unlocking the screen no signal is sent to recover the proper search 
paths, so some indicators shows the missing icon.
Maybe a better way to handle this whole indicators icon thing would be to have 
a different GTK icon theme object for each menu::Manager instance instead of 
modifying the global default icon theme?

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

Title:
  Some indicator icons are missing after unlocking the screen

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity/+bug/1635625/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1402059] Re: Small gap appears in Firefox main window after first use of globalmenu

2014-12-14 Thread Carlo Cannas
** Description changed:

  To reproduce:
  
  1. Start Firefox on Unity
  2. Open any menu from the globalmenu (e.g. File) of main window
  3. Notice that the toolbars have moved 2px below their original position (see 
attachment)
  
  This seems to happen only on the main window, other windows such as the
- Scratchpad window doesn't show the problem.
+ Scratchpad window don't show the problem.
  
  I added to my userChrome.css the following piece of code:
  
  window[shellshowingmenubar=true] 
toolbar[type=menubar]:not([customizing=true]){
   height: 0 !important;
  }
  
  That solved the problem for me, and so far I didn't found anything
  broken by that CSS rule. So it should be enough to put it in xul.css by
  unity-menubar.patch.

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

Title:
  Small gap appears in Firefox main window after first use of globalmenu

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1402059/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1402059] [NEW] Small gap appears in Firefox main window after first use of globalmenu

2014-12-12 Thread Carlo Cannas
Public bug reported:

To reproduce:

1. Start Firefox on Unity
2. Open any menu from the globalmenu (e.g. File) of main window
3. Notice that the toolbars have moved 2px below their original position (see 
attachment)

This seems to happen only on the main window, other windows such as the
Scratchpad window doesn't show the problem.

I added to my userChrome.css the following piece of code:

window[shellshowingmenubar=true] 
toolbar[type=menubar]:not([customizing=true]){
 height: 0 !important;
}

That solved the problem for me, and so far I didn't found anything
broken by that CSS rule. So it should be enough to put it in xul.css by
unity-menubar.patch.

** Affects: firefox (Ubuntu)
 Importance: Undecided
 Status: New

** Attachment added: screenshot.png
   
https://bugs.launchpad.net/bugs/1402059/+attachment/4279889/+files/screenshot.png

** Description changed:

  To reproduce:
  
  1. Start Firefox on Unity
  2. Open any menu from the globalmenu (e.g. File) of main window
  3. Notice that the toolbars have moved 2px below their original position (see 
attachment)
  
  This seems to happen only on the main window, other windows such as the
  Scratchpad window doesn't show the problem.
  
  I added to my userChrome.css the following piece of code:
  
  window[shellshowingmenubar=true] 
toolbar[type=menubar]:not([customizing=true]){
-   height: 0 !important;
+  height: 0 !important;
  }
  
  That solved the problem for me, and so far I didn't found anything
- broken by that CSS rule. So it should be enough to put it xul.css by
+ broken by that CSS rule. So it should be enough to put it in xul.css by
  unity-menubar.patch.

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

Title:
  Small gap appears in Firefox main window after first use of globalmenu

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1402059/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs