You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2015/03/15 17:08:36 UTC
[Issue 126177] New: mouse cursor stick on table after dialog is
closed
https://bz.apache.org/ooo/show_bug.cgi?id=126177
Issue ID: 126177
Issue Type: DEFECT
Summary: mouse cursor stick on table after dialog is closed
Product: Calc
Version: 4.1.1
Hardware: PC
OS: Windows XP
Status: UNCONFIRMED
Severity: normal
Priority: P5
Component: ui
Assignee: issues@openoffice.apache.org
Reporter: christian.laeger@gmail.com
Created attachment 84590
--> https://bz.apache.org/ooo/attachment.cgi?id=84590&action=edit
example macro to show the problem with the first click after dialog close
hello @ all troubleshooter
I recognized a disturbing behavior in Calc, after running a Makro,
that shows an Dialog, startet by the sheet-event mouse doubleclick.
After the makro run to the end and the Dialog is closed,
it is not possible, to activate a button or object outside the sheet,
with the first click after ending the macro, the first mouseklick hits always
the sheet.
For example a click on a Sheet register, if the first click is on a sheet
register, this will not activate the sheet-register, instead the cells under
the register.
This fault action happens always, with the first click after ending the macro.
That is little annoying.
attached is a example file with macro.
I think it is a problem with the detection of the doubleclick event,
because in a other case where I want use the double click event to switch from
calc doc to a writer doc, there was also unexpected behavior,
when the macro end and calc was activated again.
--
You are receiving this mail because:
You are the assignee for the issue.
[Issue 126177] mouse cursor stick on table after dialog is closed
Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=126177
bmarcelly <ma...@club-internet.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |marcelly@club-internet.fr
--- Comment #1 from bmarcelly <ma...@club-internet.fr> ---
Created attachment 84610
--> https://bz.apache.org/ooo/attachment.cgi?id=84610&action=edit
Simple macro showing the selection move
Confirmed on Windows 7, Apache OpenOffice 4.1.1.
The problem appears with any called dialog. In my attachment the event routine
simply calls a Message box.
When clicking outside the sheet area, e.g on a border of the Calc window, or on
a button, or on the slider of a scrollbar, the current selection moves to a
visible cell at the periphery of the visible area, and nearest to the mouse
click.
I could not find a workaround.
The bug may be related to the fact that a double-click normally enters the
edition of the cell.
--
You are receiving this mail because:
You are the assignee for the issue.
[Issue 126177] mouse cursor stick on table after dialog is closed
Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=126177
bmarcelly <ma...@club-internet.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
Status|UNCONFIRMED |CONFIRMED
--- Comment #2 from bmarcelly <ma...@club-internet.fr> ---
Setting to CONFIRMED
--
You are receiving this mail because:
You are the assignee for the issue.
[Issue 126177] mouse cursor stick on table after dialog is closed
Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=126177
--- Comment #3 from bmarcelly <ma...@club-internet.fr> ---
Created attachment 84614
--> https://bz.apache.org/ooo/attachment.cgi?id=84614&action=edit
Modified macro that avoids this issue
The double-click event may be totally handled by the macro if the macro returns
the value True.
Solution :
- transform the Sub TopicsChoice into a Function
- if the dialog is called (or a MsgBox is displayed), return True
- else the function returns False and the cell switches into edit mode, as
usual.
The problem was not a bug but an incorrect use of the API.
--
You are receiving this mail because:
You are the assignee for the issue.
[Issue 126177] mouse cursor stick on table after dialog is closed
Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=126177
Kay <ks...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |CLOSED
CC| |kschenk@apache.org
--
You are receiving this mail because:
You are the assignee for the issue.
[Issue 126177] mouse cursor stick on table after dialog is closed
Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=126177
clag <ch...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|CONFIRMED |RESOLVED
Resolution|--- |FIXED
--- Comment #4 from clag <ch...@gmail.com> ---
hello bmarcelly,
what can I say others than, thank you for your attention and action.
yeah the makro works fine now.
perhaps with this solution I can also solve the other problem what I had have
with the double-click event....
thanks alot
clag
--
You are receiving this mail because:
You are the assignee for the issue.