# Pad and canvas bug

**URL:** <https://root-forum.cern.ch/t/pad-and-canvas-bug/45608>\
**Category:** Newbie\
**Created:** [June 30, 2021, 2:44pm UTC](https://root-forum.cern.ch/t/pad-and-canvas-bug/45608 "2021-06-30T14:44:43Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![schr0d1ng3r](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/s/4af34b/32.png) [@schr0d1ng3r](https://root-forum.cern.ch/u/schr0d1ng3r)\
**Post date:** [June 30, 2021, 2:44pm UTC](https://root-forum.cern.ch/t/pad-and-canvas-bug/45608/1 "2021-06-30T14:44:43Z")

</div>

Hello everyone,  
I have installed root 6.22 with the next code : (found in the installation manual)

```auto
wget https://root.cern/download/root_v6.22.00.Linux-ubuntu19-x86_64-gcc9.2.tar.gz
$ tar -xzvf root_v6.22.00.Linux-ubuntu19-x86_64-gcc9.2.tar.gz
$ source root/bin/thisroot.sh # also available: thisroot.{csh,fish,bat}

```

But I have any bugs when I get a pad on my canvas and try to open a specter on it : the pad is not circle in yellow, and it disappear immediately when I get click on it then on my specter. And the specter appear on the first canvas…  
Furthermore when I divide a canvas, the subdivision don’t appear (no subdivision circle in yellow…)

Is this a frequent bug ? Or I misunderstood how to install root, and made mistakes ?  
Thanks for yours answers, and sorry for my English, hopping it’s understandable.

---

<div class="post-metadata">

**Author:** ![couet](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/couet/32/12037_2.png) [@couet](https://root-forum.cern.ch/u/couet)\
**Post date:** [June 30, 2021, 2:58pm UTC](https://root-forum.cern.ch/t/pad-and-canvas-bug/45608/2 "2021-06-30T14:58:47Z")

</div>

Can you post an example macro showing your problem ?

---

<div class="post-metadata">

**Author:** ![schr0d1ng3r](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/s/4af34b/32.png) [@schr0d1ng3r](https://root-forum.cern.ch/u/schr0d1ng3r)\
**Post date:** [June 30, 2021, 3:12pm UTC](https://root-forum.cern.ch/t/pad-and-canvas-bug/45608/3 "2021-06-30T15:12:00Z")

</div>

![Capture d’écran de 2021-06-30 17-01-05](https://root-forum.cern.ch/uploads/default/original/3X/b/7/b78f78232621ae908fe4c466f6c420d64a8c6d32.png)

For the canvas, it should be like that when I divided it. But nothing happen (with code or graphical interface):

 ![Capture d’écran de 2021-06-30 17-05-55](https://root-forum.cern.ch/uploads/default/original/3X/9/8/983d5edb926b79f8ce83150122e94f0a1728895f.png)  
 ![Capture d’écran de 2021-06-30 17-06-00](https://root-forum.cern.ch/uploads/default/original/3X/6/6/669eba2f081cdf26f5868a8c84f02b239c238835.png)  
(The screen with divide operation, then the screen after…).

For the pad after writing:

 ![Capture d’écran de 2021-06-30 17-02-27](https://root-forum.cern.ch/uploads/default/original/3X/c/9/c95dd72768a41eaec4eb2e6589a6ce798f3f8ce5.png)

after I mooved it :

 ![Capture d’écran de 2021-06-30 17-02-37](https://root-forum.cern.ch/uploads/default/original/3X/f/4/f4291d791aaf1f469d25792078ab9dc55c2929cb.png)

and after I click on it and double click on an another specter to draw in it :

 ![Capture d’écran de 2021-06-30 17-02-50](https://root-forum.cern.ch/uploads/default/original/3X/8/e/8efde59bb9ff19d6af99a564a28ae216ab23a965.png)  
If the operation work like it does, we should have (screenshoot by my tuto…) :  
 ![Capture d’écran de 2021-06-30 17-01-58](https://root-forum.cern.ch/uploads/default/original/3X/6/e/6e2f5381e5d221ff8e4aaa4912442fba8b506bfc.png)

---

<div class="post-metadata">

**Author:** ![schr0d1ng3r](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/s/4af34b/32.png) [@schr0d1ng3r](https://root-forum.cern.ch/u/schr0d1ng3r)\
**Post date:** [June 30, 2021, 3:47pm UTC](https://root-forum.cern.ch/t/pad-and-canvas-bug/45608/4 "2021-06-30T15:47:41Z")

</div>

Mr couet, d’ailleurs le monde est petit, à ce que j’ai vu vous êtes de l’unistra (c’est là que j’étudie en ce moment justement !)

---

<div class="post-metadata">

**Author:** ![couet](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/couet/32/12037_2.png) [@couet](https://root-forum.cern.ch/u/couet)\
**Post date:** [June 30, 2021, 6:31pm UTC](https://root-forum.cern.ch/t/pad-and-canvas-bug/45608/5 "2021-06-30T18:31:00Z")

</div>

Yes I did part of my studies in Strasbourg, 🙂  
Regarding your example can you provide a macro ?  
it is not very convenient to deal with interactive sessions.

---

<div class="post-metadata">

**Author:** ![schr0d1ng3r](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/s/4af34b/32.png) [@schr0d1ng3r](https://root-forum.cern.ch/u/schr0d1ng3r)\
**Post date:** [June 30, 2021, 6:50pm UTC](https://root-forum.cern.ch/t/pad-and-canvas-bug/45608/6 "2021-06-30T18:50:39Z")

</div>

I’m not sure to know what’s a macro. But if it’s a code line in the shell, I don’t have that… ^^’ It’s my first step in the root’s word or in the code’s world.

---

<div class="post-metadata">

**Author:** ![schr0d1ng3r](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/s/4af34b/32.png) [@schr0d1ng3r](https://root-forum.cern.ch/u/schr0d1ng3r)\
**Post date:** [June 30, 2021, 10:59pm UTC](https://root-forum.cern.ch/t/pad-and-canvas-bug/45608/7 "2021-06-30T22:59:54Z")

</div>

Thank’s for your help, finally I found the soluce.

---

<div class="post-metadata">

**Author:** ![couet](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/couet/32/12037_2.png) [@couet](https://root-forum.cern.ch/u/couet)\
**Post date:** [July 1, 2021, 6:47am UTC](https://root-forum.cern.ch/t/pad-and-canvas-bug/45608/8 "2021-07-01T06:47:42Z")

</div>

> [@schr0d1ng3r](#):
>
> I’m not sure to know what’s a macro. But if it’s a code line in the shell, I don’t have that…

See: [ROOT: Tutorials](https://root.cern/doc/master/group__Tutorials.html)
