osm-gps-map icon indicating copy to clipboard operation
osm-gps-map copied to clipboard

stop emission of clicks if on osd layers

Open nzjrs opened this issue 14 years ago • 1 comments

There are two approaches here. If you want to manage clicks totally yourself then just use the normal gtk+ click event API.

Yes that works. However I still receive button_press and button_release events when I click on OSD elements (and thus always get the fine popup window all the time ;-).

Hmm, I will have a think about whether osm-gps-map should stop the emission of these signals if the osd element registers a click.

nzjrs avatar May 19 '10 05:05 nzjrs

  • keypresses that have bindings also do not get propagated, so not propagating mouse button events on OSD elements would make it consistent.
  • Possible caveat: button_press and button_release should be symmetrical, so if a button_press is propagated, so should the button_release, even if it's on top of an OSD layer element.

nzjrs avatar May 21 '10 03:05 nzjrs