Opened 10 years ago

Closed 10 years ago

#527 closed defect/bug (fixed)

gui.fullscreen() stopped functioning

Reported by: flabrosse Owned by: cp15
Priority: minor Milestone:
Component: gui/internal Version: git master
Severity: Keywords:
Cc: flabrosse

Description

Hi,

From recently (a couple of weeks ago?, sorry don't know from which revision), the osd gui.fullscreen() function stopped doing anything. As suggested on the wiki, I have:

<osd enabled="yes" type="button" x="-60" y="220" command="gui.fullscreen()" src="gui_fullscreen.png"/>

When I tap the button, I get in the terminal:

navit:osd_std_click:calling command 'gui.fullscreen()'

but nothing happens.

Cheers,

Fred

Change History (3)

comment:1 Changed 10 years ago by tiiiim

Fred,

The wiki was recently changed: the correct method is now:

<osd enabled="yes" type="button" x="-60" y="220" command="gui.fullscreen=!gui.fullscreen" src="gui_fullscreen.png"/>

I'm not a developer, so have no idea why this changed, but this works using the current SVN version of Navit (I used it today).

Tiiiim

comment:2 Changed 10 years ago by flabrosse

That works. Thanks.

comment:3 Changed 10 years ago by flabrosse

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.