zhrexl / DrawOnYourScreen2

GNU General Public License v3.0
209 stars 20 forks source link

Colour picker tool not exiting and hijacking the mouse / keyboard. #24

Open MKrabs opened 1 year ago

MKrabs commented 1 year ago

The colour picker tool does not work properly and causes one major bug:

When you select the tool and left-click to select a colour it does register and pick the colour seen, but the tool never disappears: the colour picker tool still remains active after exiting drawing mode and "hijacks" the mouse / most keyboard keys. Making it impossible to click with the mouse or send individual any alpha numeric key presses.

The same thing happens when you enter Drawing mode, choose the colour picker tool and exit drawing mode.

Shortcuts to select another tool (like polygon) do change the tool and let you draw again, but only in drawing mode, and do not remove the colour picker tool.

You are able to use key-combinations outside of drawing mode but not to type anything: such as Super + Alt + D to re-enter drawing mode and use any keyboard input again

Only way to reclaim the mouse is to logout via a shortcut or shutdown by long pressing the power button.

DOYS Version: 3 GNOME: 42.5 Ubuntu: 22.04 LTS

zhrexl commented 1 year ago

I'm not able to reproduce this issue, in the video below is it supposed to happen? Grabación de pantalla desde 24-02-23 20:14:19.webm

Guwalgiyakuan commented 1 year ago

found the same problem Screencast from 2023年05月24日 20時34分37秒.webm OS: Ubuntu 22.04.2 LTS x86——64 DE: gnome 42.5

zhrexl commented 1 year ago

found the same problem Screencast from 2023年05月24日 20時34分37秒.webm OS: Ubuntu 22.04.2 LTS x86——64 DE: gnome 42.5

Could you please run journalctl /usr/bin/gnome-shell -f -o cat and see if there's any error when this happens?

Guwalgiyakuan commented 1 year ago

found the same problem Screencast from 2023年05月24日 20時34分37秒.webm OS: Ubuntu 22.04.2 LTS x86——64 DE: gnome 42.5

Could you please run journalctl /usr/bin/gnome-shell -f -o cat and see if there's any error when this happens?


Window manager warning: Overwriting existing binding of keysym 33 with keysym 33 (keycode c).
Window manager warning: Overwriting existing binding of keysym 39 with keysym 39 (keycode 12).
Window manager warning: Overwriting existing binding of keysym 37 with keysym 37 (keycode 10).
Window manager warning: Overwriting existing binding of keysym 36 with keysym 36 (keycode f).
GNOME Shell started at Thu May 25 2023 20:23:42 GMT+0800 (CST)
Registering session with GDM
Can't update stage views actor <unnamed>[<StBin>:0x555b5b05c030] is on because it needs an allocation.
Can't update stage views actor <unnamed>[<StLabel>:0x555b5c80e330] is on because it needs an allocation.
Can't update stage views actor <unnamed>[<ClutterText>:0x555b5c80f8b0] is on because it needs an allocation.
IBus 面板服务连接成功!
Window manager warning: Overwriting existing binding of keysym 38 with keysym 2a (keycode 11).
Window manager warning: Overwriting existing binding of keysym 37 with keysym 37 (keycode 10).
Window manager warning: Overwriting existing binding of keysym 32 with keysym 32 (keycode b).
Window manager warning: Overwriting existing binding of keysym 35 with keysym 35 (keycode e).
Window manager warning: Overwriting existing binding of keysym 34 with keysym 34 (keycode d).
Window manager warning: Overwriting existing binding of keysym 36 with keysym 36 (keycode f).
Window manager warning: Overwriting existing binding of keysym 38 with keysym 38 (keycode 11).
Window manager warning: Overwriting existing binding of keysym 31 with keysym 31 (keycode a).
Window manager warning: Overwriting existing binding of keysym 33 with keysym 33 (keycode c).
Window manager warning: Overwriting existing binding of keysym 39 with keysym 39 (keycode 12).
JS ERROR: Error: incorrect pop
popModal@resource:///org/gnome/shell/ui/main.js:680:15
dispel@/home/xxxx/.local/share/gnome-shell/extensions/color-picker@tuberry/extension.js:555:14
pickAsync/</<@/home/xxxx/.local/share/gnome-shell/extensions/color-picker@tuberry/extension.js:594:61
_emitColor@/home/xxxx/.local/share/gnome-shell/extensions/color-picker@tuberry/extension.js:375:33
vfunc_button_press_event@/home/xxxx/.local/share/gnome-shell/extensions/color-picker@tuberry/extension.js:398:36

JS ERROR: Error: incorrect pop
popModal@resource:///org/gnome/shell/ui/main.js:680:15
dispel@/home/xxxx/.local/share/gnome-shell/extensions/color-picker@tuberry/extension.js:555:14
pickAsync/</<@/home/xxxx/.local/share/gnome-shell/extensions/color-picker@tuberry/extension.js:594:61
_emitColor@/home/xxxx/.local/share/gnome-shell/extensions/color-picker@tuberry/extension.js:375:33
vfunc_button_press_event@/home/xxxx/.local/share/gnome-shell/extensions/color-picker@tuberry/extension.js:398:36

JS ERROR: Error: incorrect pop
popModal@resource:///org/gnome/shell/ui/main.js:680:15
dispel@/home/xxxx/.local/share/gnome-shell/extensions/color-picker@tuberry/extension.js:555:14
pickAsync/</<@/home/xxxx/.local/share/gnome-shell/extensions/color-picker@tuberry/extension.js:594:61
_emitColor@/home/xxxx/.local/share/gnome-shell/extensions/color-picker@tuberry/extension.js:375:33
vfunc_button_press_event@/home/xxxx/.local/share/gnome-shell/extensions/color-picker@tuberry/extension.js:398:36

JS ERROR: Error: incorrect pop
popModal@resource:///org/gnome/shell/ui/main.js:680:15
dispel@/home/xxxx/.local/share/gnome-shell/extensions/color-picker@tuberry/extension.js:555:14
pickAsync/</<@/home/xxxx/.local/share/gnome-shell/extensions/color-picker@tuberry/extension.js:594:61
vfunc_button_press_event@/home/xxxx/.local/share/gnome-shell/extensions/color-picker@tuberry/extension.js:400:23

JS ERROR: TypeError: this._windowSignals.get(...) is undefined
_onWindowRemoved@/home/xxxx/.local/share/gnome-shell/extensions/widgets@aylur/widgets/dynamicPanel.js:77:46
_initializeUI/<@resource:///org/gnome/shell/ui/main.js:260:16

Running GNOME Shell (using mutter 42.5) as a X11 window and compositing manager
Failed to use stored monitor configuration: Invalid mode 1920x1080 (120.015511) for monitor 'LGD 0x0521'
ATK Bridge is disabled but a11y has already been enabled.
Unset XDG_SESSION_ID, getCurrentSessionProxy() called outside a user session. Asking logind directly.
Will monitor session 2
Telepathy is not available, chat integration will be disabled.
Failed to create file /run/user/1000/gnome-shell-disable-extensions: ファイル“/run/user/1000/gnome-shell-disable-extensions”を開くときにエラーが発生しました: ファイルが存在します
Error: Requiring GTop, version none: Typelib file for namespace 'GTop' (any version) not found
st_widget_get_theme_node called on the widget [0x55868b730b70 Gjs_widgets_dateMenuTweaks_LevelsBox.container events-button datemenu-levels ("")] which is not in the stage.
st_widget_get_theme_node called on the widget [0x55868b731bf0 Gjs_shared_systemLevels_PowerLevel.usage-level:insensitive red ("")] which is not in the stage.
st_widget_get_theme_node called on the widget [0x55868b735300 Gjs_shared_systemLevels_LevelBar:insensitive] which is not in the stage.
st_widget_get_theme_node called on the widget [0x55868b7359d0 StBin.level-bar calendar:active] which is not in the stage.
st_widget_get_theme_node called on the widget [0x55868b730b70 Gjs_widgets_dateMenuTweaks_LevelsBox.container events-button datemenu-levels ("")] which is not in the stage.
st_widget_get_theme_node called on the widget [0x55868b731bf0 Gjs_shared_systemLevels_PowerLevel.usage-level:insensitive red ("")] which is not in the stage.
st_widget_get_theme_node called on the widget [0x55868b735300 Gjs_shared_systemLevels_LevelBar:insensitive] which is not in the stage.
st_widget_get_theme_node called on the widget [0x55868b7359d0 StBin.level-bar calendar:active] which is not in the stage.
st_widget_get_theme_node called on the widget [0x55868b7361e0 StWidget.level-fill calendar-today:selected] which is not in the stage.
st_widget_get_theme_node called on the widget [0x55868b730b70 Gjs_widgets_dateMenuTweaks_LevelsBox.container events-button datemenu-levels ("")] which is not in the stage.
st_widget_get_theme_node called on the widget [0x55868b73aaf0 Gjs_shared_systemLevels_StorageLevel.usage-level:insensitive green ("")] which is not in the stage.
st_widget_get_theme_node called on the widget [0x55868b73d620 Gjs_shared_systemLevels_LevelBar:insensitive] which is not in the stage.
st_widget_get_theme_node called on the widget [0x55868b73dfd0 StBin.level-bar calendar:active] which is not in the stage.
st_widget_get_theme_node called on the widget [0x55868b730b70 Gjs_widgets_dateMenuTweaks_LevelsBox.container events-button datemenu-levels ("")] which is not in the stage.
st_widget_get_theme_node called on the widget [0x55868b73aaf0 Gjs_shared_systemLevels_StorageLevel.usage-level:insensitive green ("")] which is not in the stage.
st_widget_get_theme_node called on the widget [0x55868b73d620 Gjs_shared_systemLevels_LevelBar:insensitive] which is not in the stage.
st_widget_get_theme_node called on the widget [0x55868b73dfd0 StBin.level-bar calendar:active] which is not in the stage.
st_widget_get_theme_node called on the widget [0x55868b73e820 StWidget.level-fill calendar-today:selected] which is not in the stage.
st_widget_get_theme_node called on the widget [0x55868b730b70 Gjs_widgets_dateMenuTweaks_LevelsBox.container events-button datemenu-levels ("")] which is not in the stage.
st_widget_get_theme_node called on the widget [0x55868b741d70 Gjs_shared_systemLevels_CpuLevel.usage-level:insensitive yellow ("32%")] which is not in the stage.
st_widget_get_theme_node called on the widget [0x55868b745010 Gjs_shared_systemLevels_LevelBar:insensitive] which is not in the stage.
st_widget_get_theme_node called on the widget [0x55868b7459c0 StBin.level-bar calendar:active] which is not in the stage.
st_widget_get_theme_node called on the widget [0x55868b730b70 Gjs_widgets_dateMenuTweaks_LevelsBox.container events-button datemenu-levels ("")] which is not in the stage.
st_widget_get_theme_node called on the widget [0x55868b741d70 Gjs_shared_systemLevels_CpuLevel.usage-level:insensitive yellow ("32%")] which is not in the stage.
st_widget_get_theme_node called on the widget [0x55868b745010 Gjs_shared_systemLevels_LevelBar:insensitive] which is not in the stage.
st_widget_get_theme_node called on the widget [0x55868b7459c0 StBin.level-bar calendar:active] which is not in the stage.
st_widget_get_theme_node called on the widget [0x55868b7461b0 StWidget.level-fill calendar-today:selected] which is not in the stage.
st_widget_get_theme_node called on the widget [0x55868b730b70 Gjs_widgets_dateMenuTweaks_LevelsBox.container events-button datemenu-levels ("")] which is not in the stage.
st_widget_get_theme_node called on the widget [0x55868b749170 Gjs_shared_systemLevels_RamLevel.usage-level:insensitive yellow ("28%")] which is not in the stage.
st_widget_get_theme_node called on the widget [0x55868b74c520 Gjs_shared_systemLevels_LevelBar:insensitive] which is not in the stage.
st_widget_get_theme_node called on the widget [0x55868b74ced0 StBin.level-bar calendar:active] which is not in the stage.
st_widget_get_theme_node called on the widget [0x55868b730b70 Gjs_widgets_dateMenuTweaks_LevelsBox.container events-button datemenu-levels ("")] which is not in the stage.
st_widget_get_theme_node called on the widget [0x55868b749170 Gjs_shared_systemLevels_RamLevel.usage-level:insensitive yellow ("28%")] which is not in the stage.
st_widget_get_theme_node called on the widget [0x55868b74c520 Gjs_shared_systemLevels_LevelBar:insensitive] which is not in the stage.
st_widget_get_theme_node called on the widget [0x55868b74ced0 StBin.level-bar calendar:active] which is not in the stage.
st_widget_get_theme_node called on the widget [0x55868b74d6b0 StWidget.level-fill calendar-today:selected] which is not in the stage.
st_widget_get_theme_node called on the widget [0x55868b730b70 Gjs_widgets_dateMenuTweaks_LevelsBox.container events-button datemenu-levels ("")] which is not in the stage.
st_widget_get_theme_node called on the widget [0x55868b7513e0 Gjs_shared_systemLevels_TempLevel.usage-level:insensitive green ("48˚")] which is not in the stage.
st_widget_get_theme_node called on the widget [0x55868b754410 Gjs_shared_systemLevels_LevelBar:insensitive] which is not in the stage.
st_widget_get_theme_node called on the widget [0x55868b754dc0 StBin.level-bar calendar:active] which is not in the stage.
st_widget_get_theme_node called on the widget [0x55868b730b70 Gjs_widgets_dateMenuTweaks_LevelsBox.container events-button datemenu-levels ("")] which is not in the stage.
st_widget_get_theme_node called on the widget [0x55868b7513e0 Gjs_shared_systemLevels_TempLevel.usage-level:insensitive green ("48˚")] which is not in the stage.
st_widget_get_theme_node called on the widget [0x55868b754410 Gjs_shared_systemLevels_LevelBar:insensitive] which is not in the stage.
st_widget_get_theme_node called on the widget [0x55868b754dc0 StBin.level-bar calendar:active] which is not in the stage.
st_widget_get_theme_node called on the widget [0x55868b7555a0 StWidget.level-fill calendar-today:selected] which is not in the stage.
[System monitor] scroll-workspace outer init()
[System monitor] scroll-workspace init()
[System monitor] scroll-workspace enable()
loading user theme: /usr/share/themes/Nordic-v40/gnome-shell/gnome-shell.css
[x11gestures@joseexposito.github.io] Extension enabled
[x11gestures@joseexposito.github.io] Building entry point for GNOME Shell 42.5
[x11gestures@joseexposito.github.io] Connecting to Touchégg daemon
[x11gestures@joseexposito.github.io] Hooking global switch desktop gestures
[x11gestures@joseexposito.github.io] Creating a new SwipeTracker40
[x11gestures@joseexposito.github.io] Connecting Touchégg client signals
[x11gestures@joseexposito.github.io] Hooking global activities/overview gestures
[x11gestures@joseexposito.github.io] Creating a new SwipeTracker40
[x11gestures@joseexposito.github.io] Connecting Touchégg client signals
[x11gestures@joseexposito.github.io] Hooking activities view switch desktop gestures
[x11gestures@joseexposito.github.io] Creating a new SwipeTracker40
[x11gestures@joseexposito.github.io] Connecting Touchégg client signals
Did not find color property '-arrow-background-color'
正在为 IBus 加载当前系统主题
正在为 IBus 加载当前系统主题
正在为 IBus 加载深色用户主题:/home/xxxx/.config/ibus/Nord.css
JS ERROR: Could not load extension ubuntu-dock@ubuntu.com.bak: Error: uuid "ubuntu-dock@ubuntu.com" from metadata.json does not match directory name "ubuntu-dock@ubuntu.com.bak"
createExtensionObject@resource:///org/gnome/shell/ui/extensionSystem.js:341:19
_loadExtensions/<@resource:///org/gnome/shell/ui/extensionSystem.js:635:34
collectFromDatadirs@resource:///org/gnome/shell/misc/fileUtils.js:27:28
_loadExtensions@resource:///org/gnome/shell/ui/extensionSystem.js:615:19
_enableAllExtensions@resource:///org/gnome/shell/ui/extensionSystem.js:646:18
_sessionUpdated@resource:///org/gnome/shell/ui/extensionSystem.js:666:14
init@resource:///org/gnome/shell/ui/extensionSystem.js:56:14
_initializeUI@resource:///org/gnome/shell/ui/main.js:298:22
start@resource:///org/gnome/shell/ui/main.js:175:5
@resource:///org/gnome/shell/ui/init.js:6:17

Extension apps-menu@gnome-shell-extensions.gcampax.github.com already installed in /home/xxxx/.local/share/gnome-shell/extensions/apps-menu@gnome-shell-extensions.gcampax.github.com. /usr/share/gnome-shell/extensions/apps-menu@gnome-shell-extensions.gcampax.github.com will not be loaded
Extension auto-move-windows@gnome-shell-extensions.gcampax.github.com already installed in /home/xxxx/.local/share/gnome-shell/extensions/auto-move-windows@gnome-shell-extensions.gcampax.github.com. /usr/share/gnome-shell/extensions/auto-move-windows@gnome-shell-extensions.gcampax.github.com will not be loaded
Extension drive-menu@gnome-shell-extensions.gcampax.github.com already installed in /home/xxxxx/.local/share/gnome-shell/extensions/drive-menu@gnome-shell-extensions.gcampax.github.com. /usr/share/gnome-shell/extensions/drive-menu@gnome-shell-extensions.gcampax.github.com will not be loaded
Extension launch-new-instance@gnome-shell-extensions.gcampax.github.com already installed in /home/xxxx/.local/share/gnome-shell/extensions/launch-new-instance@gnome-shell-extensions.gcampax.github.com. /usr/share/gnome-shell/extensions/launch-new-instance@gnome-shell-extensions.gcampax.github.com will not be loaded
Extension native-window-placement@gnome-shell-extensions.gcampax.github.com already installed in /home/xxxx/.local/share/gnome-shell/extensions/native-window-placement@gnome-shell-extensions.gcampax.github.com. /usr/share/gnome-shell/extensions/native-window-placement@gnome-shell-extensions.gcampax.github.com will not be loaded
Extension places-menu@gnome-shell-extensions.gcampax.github.com already installed in /home/xxxx/.local/share/gnome-shell/extensions/places-menu@gnome-shell-extensions.gcampax.github.com. /usr/share/gnome-shell/extensions/places-menu@gnome-shell-extensions.gcampax.github.com will not be loaded
Extension screenshot-window-sizer@gnome-shell-extensions.gcampax.github.com already installed in /home/xxxx/.local/share/gnome-shell/extensions/screenshot-window-sizer@gnome-shell-extensions.gcampax.github.com. /usr/share/gnome-shell/extensions/screenshot-window-sizer@gnome-shell-extensions.gcampax.github.com will not be loaded
Extension user-theme@gnome-shell-extensions.gcampax.github.com already installed in /home/xxxx/.local/share/gnome-shell/extensions/user-theme@gnome-shell-extensions.gcampax.github.com. /usr/share/gnome-shell/extensions/user-theme@gnome-shell-extensions.gcampax.github.com will not be loaded
Extension window-list@gnome-shell-extensions.gcampax.github.com already installed in /home/xxxx/.local/share/gnome-shell/extensions/window-list@gnome-shell-extensions.gcampax.github.com. /usr/share/gnome-shell/extensions/window-list@gnome-shell-extensions.gcampax.github.com will not be loaded
Extension windowsNavigator@gnome-shell-extensions.gcampax.github.com already installed in /home/xxxx/.local/share/gnome-shell/extensions/windowsNavigator@gnome-shell-extensions.gcampax.github.com. /usr/share/gnome-shell/extensions/windowsNavigator@gnome-shell-extensions.gcampax.github.com will not be loaded
Extension workspace-indicator@gnome-shell-extensions.gcampax.github.com already installed in /home/xxxx/.local/share/gnome-shell/extensions/workspace-indicator@gnome-shell-extensions.gcampax.github.com. /usr/share/gnome-shell/extensions/workspace-indicator@gnome-shell-extensions.gcampax.github.com will not be loaded
[x11gestures@joseexposito.github.io] Connection with Touchégg established
正在为 IBus 加载深色用户主题:/home/xxxx/.config/ibus/Nord.css
Did not find color property '-arrow-background-color'
Did not find color property '-arrow-background-color'
Error looking up permission: GDBus.Error:org.freedesktop.portal.Error.NotFound: No entry for geolocation
Error looking up permission: GDBus.Error:org.freedesktop.portal.Error.NotFound: No entry for geolocation
Window manager warning: Overwriting existing binding of keysym 34 with keysym 34 (keycode d).
Window manager warning: Overwriting existing binding of keysym 33 with keysym 33 (keycode c).
Window manager warning: Overwriting existing binding of keysym 38 with keysym 38 (keycode 11).
Window manager warning: Overwriting existing binding of keysym 32 with keysym 32 (keycode b).
Window manager warning: Overwriting existing binding of keysym 31 with keysym 31 (keycode a).
Window manager warning: Overwriting existing binding of keysym 35 with keysym 35 (keycode e).
Window manager warning: Overwriting existing binding of keysym 37 with keysym 37 (keycode 10).
Window manager warning: Overwriting existing binding of keysym 39 with keysym 39 (keycode 12).
Window manager warning: Overwriting existing binding of keysym 36 with keysym 36 (keycode f).
GNOME Shell started at Thu May 25 2023 20:24:20 GMT+0800 (CST)
Registering session with GDM
Can't update stage views actor <unnamed>[<StBin>:0x558689e71100] is on because it needs an allocation.
Can't update stage views actor <unnamed>[<StLabel>:0x558689e717d0] is on because it needs an allocation.
Can't update stage views actor <unnamed>[<ClutterText>:0x558689e72cb0] is on because it needs an allocation.
IBus 面板服务连接成功!
^C```
Bytezz commented 10 months ago

Support for GNOME 42.x has been dropped since ab351358210092c3f977b8206afd3e2eab93d209.

Are you still encountering the same problem on newer versions of GNOME? If yes, which version?