https://bugs.documentfoundation.org/show_bug.cgi?id=123159
--- Comment #17 from Eike Rathke <[email protected]> --- Implementation detail.. (In reply to Heiko Tietze from comment #10) > The function ScGlobal::OpenURL() is called in ScGridWindow::MouseButtonUp(). > Cleanest solution would be to separate the part that takes various > situations into account. But this is some effort since it's closely linked > to the mouse position. The mouse position there is only needed to obtain the URL from the cell via ScGridWindow::GetEditUrl() and for the tiled rendering case. Separating that out and factoring out all the address conversion then would only need a GetEditUrl() on the currently active cell for the keyboard case. For ScGlobal::OpenURL() it's about the active view shell/frame and mouse click modifier keys. The view shell/frame is the same for a Ctrl+Enter (or whatever) and whether to evaluate the mouse click modifier (and what happens if not) could be made a parameter, defaulted to current behaviour. > Alternatively, we might simulate a mouse click in the > UNO command that needs to be added for the keyboard interaction. How should that work? You'd have to navigate the mouse to position it on cells to emulate the click. Sounds more like a pain than a gain. > Or > duplicate the code maybe with limited capabilities (no VbaEvents, no mobile > device. That does not sound like a good idea.. -- You are receiving this mail because: You are the assignee for the bug.
