Index: trunk/doc/developer/popup.txt =================================================================== --- trunk/doc/developer/popup.txt (revision 8989) +++ trunk/doc/developer/popup.txt (revision 8990) @@ -21,9 +21,17 @@ Group with role=ROLE, ROLE must be one of the cschem-defined group roles, e.g. symbol, terminal, etc. + - /popups/sheet + Clicked on an empty part of the drawing area of a sheet + - /popups/symbol-as-sheet + Clicked on an empty part of the drawing area of a sheet when in symbol + editing mode + - popups/none + None of the above (e.g. clicked outside of drawing area) + Index: trunk/src/plugins/gui/sch_rnd_gui.c =================================================================== --- trunk/src/plugins/gui/sch_rnd_gui.c (revision 8989) +++ trunk/src/plugins/gui/sch_rnd_gui.c (revision 8990) @@ -150,8 +150,17 @@ x = rnd_grid_fit(x, hidlib->grid, hidlib->grid_ox); y = rnd_grid_fit(y, hidlib->grid, hidlib->grid_oy); obj = sch_rnd_search_first_gui_inspect(sheet, x, y); - if (obj == NULL) - tn = "none"; + if (obj == NULL) { + if (rnd_point_in_box(&hidlib->dwg, x, y)) { + if (sheet->is_symbol) + tn = "symbol-as-sheet"; + else + tn = "sheet"; + misc = "none"; + } + else + tn = "none"; + } else if (csch_obj_is_grp(obj)) { csch_cgrp_t *grp = (csch_cgrp_t *)obj; if (grp->srole != NULL) {