! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Excess useless clones of notes-window are opened when the plugin is activated
Status:
RESOLVED: WORKSFORME
Product:
Xfce4-notes-plugin
Component:
General

Comments

Description Dmitriy 2012-06-21 10:30:08 CEST
Created attachment 4516 
The normal window and three empty

Using Ubuntu 12.04 64bit, XFce 4.8.0.3, xfce4-notes 1.7.7-2ubuntu1, laptop Samsung NP350U2B with Intel 3000 graphics card.

After installing XFce on Ubuntu with Unity all worked well. After I have installed KDE4 Desktop Environment, in XFce4 Notes plugin began to work strange: activated plugin opens four windows (a normal window, and three transparent, empty and dark windows near by the normal one, they also remember their last position, it is impossible to input a text into them).
Comment 1 Mike Massonnet editbugs 2012-06-22 13:40:30 CEST
Can you check what you have inside ~/.local/share/notes/?

$ find ~/.local/share/notes/
Comment 2 Dmitriy 2012-10-25 11:32:31 CEST
(In reply to comment #1)
> Can you check what you have inside ~/.local/share/notes/?
> 
> $ find ~/.local/share/notes/

--------------------------------------------------------
$ find ~/.local/share/notes/

/home/def/.local/share/notes/
/home/def/.local/share/notes/cur
/home/def/.local/share/notes/tmp
/home/def/.local/share/notes/new
/home/def/.local/share/notes/Notes
/home/def/.local/share/notes/Notes/Заметки 4
/home/def/.local/share/notes/Notes/Заметки 5
/home/def/.local/share/notes/Notes/Заметки 6
/home/def/.local/share/notes/Notes/Заметки 2
/home/def/.local/share/notes/Notes/Заметки
/home/def/.local/share/notes/Notes/Заметки 3
/home/def/.local/share/notes/Notes/Notes
---------------------------------------------------------

The bug still appears.
Comment 3 Mike Massonnet editbugs 2012-10-25 21:32:28 CEST
the empty groups are created because of the files/directories cur, tmp, and new.

are these files/directories created automatically? do you know the nature of them?

can you provide the output of stat:
stat ~/.local/share/notes/cur
stat ~/.local/share/notes/tmp
stat ~/.local/share/notes/new

anyway, there clearly are issues in case files are created outside the application in the notes directory, the code can be patched for different kind of issues (also related to bug 9342.)

thanks for your input.

 - m
Comment 4 Dmitriy 2012-10-26 17:23:18 CEST
> can you provide the output of stat:
> stat ~/.local/share/notes/cur
> stat ~/.local/share/notes/tmp
> stat ~/.local/share/notes/new

Sorry, I have already deleted these directories (I guessed that they caused the empty windows). Now there is only one window for notes, all right. I don't know, how these dirs were created. Thanks.
Comment 5 Tracey C 2014-05-08 16:39:34 CEST
This problem still exists in Ubuntu 14.04. It irritates me every time I have to reinstall Ubuntu. Please re-open the bug.

What I believe caused the bug for me is that I had installed KDE and *then* installed XFCE. I'm not sure why the xfce-goodies installer decided to create these useless directories that cause this bug when installing the notes plugin. Since KDE had already been installed it wasn't the fault of that.

If no one can figure out why the useless directories are being created, it's programmatically easy to have the notes plugin ignore them.

Steps to reproduce:
Install KDE
Install XFCE including the xfce-goodies package
Open Notes
Observe bug

Bug #9047

Reported by:
Dmitriy
Reported on: 2012-06-21
Last modified on: 2014-05-08

People

Assignee:
Mike Massonnet
CC List:
1 user

Version

Version:
unspecified

Attachments

The normal window and three empty (838.44 KB, image/png)
2012-06-21 10:30 CEST , Dmitriy
no flags

Additional information