midbrowser hildonization tracker bug

Bug #140525 reported by cwong1
2
Affects Status Importance Assigned to Milestone
Midbrowser
Incomplete
High
Unassigned

Bug Description

The toplevel window need to be hildonized. This should fix the window-title not being updated on the "HOME" area on the top of the hildon desktop.

Revision history for this message
Alexander Sack (asac) wrote :

We already have code in the nsHildonXEventService component that explicitly sets the gdk_window title - much like the original libhildon API does.

Maybe we need to redo that everytime when the window becomes topmost?

Revision history for this message
Alexander Sack (asac) wrote :

Please outline which hildonization features are missing and what they are supposed to do.

Thanks,
  - Alexander

Changed in midbrowser:
status: New → Incomplete
Revision history for this message
cwong1 (carl-wong) wrote :

So far there are 2 things that is visible:

  1. The title bar is not set correctly when we visit other page.
  2. The menu font and the ">" doesn't match other hildon app.
  3. When an application is loaded, you should see a popup
      window on the top right saying "Appname - Loading". We are
      seeing this with Midbrowser. Try gcalc, you will see what
      I meant. This may or may not have to do with the fact that
      the window is hildonized. Could be just a setting in the
      .desktop file (may be).

Revision history for this message
Alexander Sack (asac) wrote :

OK, thanks. A few more questions:

  1. The title bar is not set correctly when we visit other page.

How does it read atm? and how should it read (e.g. when going to http://www.ubuntu.com) ?

  2. The menu font and the ">" doesn't match other hildon app.

This is most likely not a hildon specific feature. Its just that firefox currently doesn't render arrows in gtk theme style. It looks like it doesn't use gtk to determine how to render the error; anyway, we need to look into the code to be sure. Once we know the cause, we probably will know the right answer.

  3. When an application is loaded, you should see a popup
      window on the top right saying "Appname - Loading". We are
      seeing this with Midbrowser. Try gcalc, you will see what
      I meant. This may or may not have to do with the fact that
      the window is hildonized. Could be just a setting in the
      .desktop file (may be).

the .desktop file approach sounds reasonable. In case its really a hildon feature, we can probably implement it in moz hildon component, but please try to figure out if .desktop file needs to be fixed.
 - Alexander

Revision history for this message
cwong1 (carl-wong) wrote :

1. For the title, the browser looks at the html page and take whatever is in <title></title> and display that in the title bar. We should do the same and display that in the "HOME" area. By the way if you visit http://www.ubuntu.com, you will see "Ubuntu Home Page | Ubuntu - Mozilla FireFox" in the title area.

2. I would appreciate it if you can look into gtk theme.

3. I will look into the .desktop.

-Carl

Alexander Sack (asac)
Changed in midbrowser:
importance: Undecided → High
Revision history for this message
cwong1 (carl-wong) wrote :

Asac,

Another item needs some attention:

  * We need to raise the Midbrowser Window to the forefront when user invoke the
     brwoser or from an external link.

I tried using XRaiseWindow in XRemoteClient.cpp's SendComandLine and it didn't work.
Please take a look at it.

Thanks,
Carl

Revision history for this message
cwong1 (carl-wong) wrote :

It looks like the title bar problem is in the Marguee Top Panel Plguin. I have created a simple test case and reported it to the rightful owner.

-Carl

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.