Revision 1182228
Go back to digest for 10th October 2010Bug Fixes in Office
Adam Celarek committed changes in /trunk/koffice:
this fixes the bug in flake, where single key shortcuts prevented text input.
to reproduce, do the following:
1. open shortcuts configuration and assign the shortcut "a" to the about dialogue.
2. activate default tool => a shows about dialogue
3. create textshape and write something with a => about dialogue shows, but it shouldn't
In the qt lib textinputs are working, while there are these shortcuts, so in flake it should also work.
the patch works this way:
the canvas forwards bool QWidget::event(QEvent* theEvent) to KoToolProxy. The tool proxy asks the current tool, if it is in text mode (isInTextMode) and interrupts the shortcut if so.
File Changes
Modified 26 files
- /trunk/koffice
- /kformula/KFormulaCanvas.cpp
- /kformula/KFormulaCanvas.h
- /kformula/flake/KoFormulaTool.cpp
- /kformula/flake/KoFormulaTool.h
- /kspread/part/Canvas.cpp
- /kspread/part/Canvas.h
- /kspread/ui/CellToolBase.cpp
- /kspread/ui/CellToolBase.h
- /kword/part/KWCanvas.cpp
- /kword/part/KWCanvas.h
- /libs/flake/KoToolBase.cpp
- /libs/flake/KoToolBase.h
- /libs/flake/KoToolProxy.cpp
- /libs/flake/KoToolProxy.h
- /libs/kopageapp/KoPACanvas.cpp
- /libs/kopageapp/KoPACanvas.h
- /plugins/artistictextshape/ArtisticTextTool.cpp
- /plugins/artistictextshape/ArtisticTextTool.h
- /plugins/textshape/TextTool.cpp
- /plugins/textshape/TextTool.h
- /karbon/ui/widgets/KarbonCanvas.cpp
- /karbon/ui/widgets/KarbonCanvas.h
- /krita/ui/canvas/kis_qpainter_canvas.cpp
- /krita/ui/canvas/kis_qpainter_canvas.h
- /krita/ui/opengl/kis_opengl_canvas2.cpp
- /krita/ui/opengl/kis_opengl_canvas2.h
26 files changed in total