You are not logged in.

#1 2020-09-23 19:19:52

nonZero
Member
Registered: 2015-05-17
Posts: 57

Trying to fix a problem in zoom: annotation toolbar missing

Hi!

When running (many many versions) of Zoom, the annotation toolbar does not appear.
I am using Gnome.
I have submitted many bug reports, and I am trying to find a workaround.

Using the code below I have found a window with the promising name "annotate_toolbar".
How can I make it visible using python-xlib?

from pprint import pprint

from Xlib import display
from Xlib.protocol.request import QueryTree

d = display.Display()
root = d.screen().root

query: QueryTree = root.query_tree()
for c in query.children:  # type: display.Window
    name = c.get_wm_name()
    if name != "annotate_toolbar":
        continue
    print(c, name)
    pprint(c.get_geometry()._data)
    pprint(c.get_attributes()._data)

Output:

<class 'Xlib.display.Window'>(0x04401b09) annotate_toolbar
{'border_width': 0,
 'depth': 32,
 'height': 43,
 'root': <<class 'Xlib.display.Window'> 0x00000174>,
 'sequence_number': 129,
 'width': 678,
 'x': 621,
 'y': 107}
{'all_event_masks': 6463615,
 'backing_bit_planes': 4294967295,
 'backing_pixel': 0,
 'backing_store': 0,
 'bit_gravity': 1,
 'colormap': <<class 'Xlib.xobject.colormap.Colormap'> 0x04401b08>,
 'do_not_propagate_mask': 0,
 'map_is_installed': 0,
 'map_state': 2,
 'override_redirect': 1,
 'save_under': 1,
 'sequence_number': 130,
 'visual': 173,
 'win_class': 1,
 'win_gravity': 1,
 'your_event_mask': 0}

Offline

#2 2020-09-23 20:18:01

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,787
Website

Re: Trying to fix a problem in zoom: annotation toolbar missing

Mod note: moving to AUR Issues


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB