
Hy, I got two problems using firefox and xmonad. I know (because ion3 has the same problems) that this is not a xmonad-issue but a firefox. Nevertheless perhaps somebody got a solution: 1. If you launch firefox in a big frame (perhaps fullscreen) and either move it to a smaller frame (change layout from tabbed to tall for example) or resize the whole screen (because of resolution-changes when switching from notebook-screen to external lcd) the popup-menus (as well as the menus in the status-bar like adblock, noscript, firebug) open in the wrong direction, because firefox didnt regognize the size-change. This leads into a big problem if you resized your screen from a bigger resolution to a smaller one: You cant use the popup-menus at all, they open out of the screen. In the oposite direction, when changing the resolution from small to big and you try to open a popup-menu it sometimes doesnt display at all. 2. Many Firefox-Windows should float above the firefox window and not get repositioned by xmonad (the about-dialog, the downloads, the prefrences). I tried to search the firefox bugtracker but as "firefox and resize" leads into thousand of javascript-issues i havent found anything until now. Thanks anybody -- Dominik Bruhn mailto: dominik@dbruhn.de

* Dominik Bruhn
2. Many Firefox-Windows should float above the firefox window and not get repositioned by xmonad (the about-dialog, the downloads, the prefrences).
About-dialog behaves exactly this way (for me). And if you want, you can (try to) make others, too, using ManageHook's doFloat. -- Roman I. Cheplyaka (aka Feuerbach @ IRC)

How did you do this? Did you modify your xmonad.hs to achieve this? Doesnt the firefox window has to get a property which tells the windowmanager to get it floating? On Wed, Jun 18, 2008 at 06:50:31PM +0300, Roman Cheplyaka wrote:
* Dominik Bruhn
[2008-06-18 17:33:26+0200] 2. Many Firefox-Windows should float above the firefox window and not get repositioned by xmonad (the about-dialog, the downloads, the prefrences).
About-dialog behaves exactly this way (for me). And if you want, you can (try to) make others, too, using ManageHook's doFloat.
-- Roman I. Cheplyaka (aka Feuerbach @ IRC) _______________________________________________ xmonad mailing list xmonad@haskell.org http://www.haskell.org/mailman/listinfo/xmonad
-- Dominik Bruhn mailto: dominik@dbruhn.de

On Wed, Jun 18, 2008 at 05:53:17PM +0200, Dominik Bruhn wrote:
How did you do this? Did you modify your xmonad.hs to achieve this? Yes. (I haven't done it; that's how you *would* do it.)
Doesnt the firefox window has to get a property which tells the windowmanager to get it floating? That's one way (_WM_TRANSIENT_FOR). There are other ways, including manually telling xmonad to float it (by mod-dragging), or writing some rules based on other window properties. See http://xmonad.org/xmonad-docs/xmonad/XMonad-ManageHook.html for the EDSL API docs and http://xmonad.org/xmonad-docs/xmonad-contrib/XMonad-Doc-Configuring.html for general information on configuring xmonad. If that's too technical, look at the example configs on the wiki.

* Devin Mullins
On Wed, Jun 18, 2008 at 05:53:17PM +0200, Dominik Bruhn wrote:
How did you do this? Did you modify your xmonad.hs to achieve this? Yes. (I haven't done it; that's how you *would* do it.)
Really? I thought xmonad handles this by default. (About-dialog has WM_TRANSIENT_FOR in my Iceweasel/2.0.0.14) -- Roman I. Cheplyaka :: http://ro-che.info/ ...being in love is totally punk rock...

Roman Cheplyaka wrote:
* Devin Mullins
[2008-06-18 09:45:34-0700] On Wed, Jun 18, 2008 at 05:53:17PM +0200, Dominik Bruhn wrote:
How did you do this? Did you modify your xmonad.hs to achieve this? Yes. (I haven't done it; that's how you *would* do it.)
Really? I thought xmonad handles this by default. (About-dialog has WM_TRANSIENT_FOR in my Iceweasel/2.0.0.14)
The about dialog lacks WM_TRANSIENT_FOR in firefox 3.0, for some reason.

Dominik Bruhn
Hy, I got two problems using firefox and xmonad. I know (because ion3 has the same problems) that this is not a xmonad-issue but a firefox. Nevertheless perhaps somebody got a solution:
1. If you launch firefox in a big frame (perhaps fullscreen) and either move it to a smaller frame (change layout from tabbed to tall for example) or resize the whole screen (because of resolution-changes when switching from notebook-screen to external lcd) the popup-menus (as well as the menus in the status-bar like adblock, noscript, firebug) open in the wrong direction, because firefox didnt regognize the size-change. This leads into a big problem if you resized your screen from a bigger resolution to a smaller one: You cant use the popup-menus at all, they open out of the screen. In the oposite direction, when changing the resolution from small to big and you try to open a popup-menu it sometimes doesnt display at all.
FYI, I just compiled firfox 3.0 with xulrunner backend, and it can now recognize Xinerama information correctly. I'm not sure about changing resolution on single screen, though. But I guess that is the same thing and should be fixed now in 3.0.
2. Many Firefox-Windows should float above the firefox window and not get repositioned by xmonad (the about-dialog, the downloads, the prefrences).
I tried to search the firefox bugtracker but as "firefox and resize" leads into thousand of javascript-issues i havent found anything until now.
This is indeed annoying, but you can always set a managerHook. Though I never bothered to do so. -- c/* __o/* <\ * (__ */\ <

On Wed, Jun 18, 2008 at 5:33 PM, Dominik Bruhn
2. Many Firefox-Windows should float above the firefox window and not get repositioned by xmonad (the about-dialog, the downloads, the prefrences).
I tried to search the firefox bugtracker but as "firefox and resize" leads into thousand of javascript-issues i havent found anything until now.
There's an extension or add-on called "All-In-One Sidebar". This might bring some much needed sanity to your firefox session. -Yaakov
participants (6)
-
Devin Mullins
-
Dominik Bruhn
-
Justin Bogner
-
Roman Cheplyaka
-
Xiao-Yong Jin
-
Yaakov Nemoy