! 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 !
Saving configuration file needs to be improved
Status:
RESOLVED: MOVED
Product:
Xfce4-notes-plugin
Component:
General

Comments

Description Todd 2011-10-01 03:50:51 CEST
Hi Guys,

Under Xfce 4.4.2, Xfce-notes-plugin has a option called "Show On Startup".  This has gone missing in 4.8.  Please put it back.  Without it I can not discipline myself away from other "shiny" things when my computer starts up and I never check my notes.  I'll check it next thing, I'll check it after this, and I never do.  Not having notes start on startup is a *complete disaster*!  

Many thanks,
-T
Comment 1 Mike Massonnet editbugs 2011-10-03 21:39:04 CEST
Hi,

The current state is the following, the configuration of the windows is saved inside a simple RC file. This one has a value "visible" set to true/false.

When you quit the application, it will save the current configuration but this doesn't seem to work weel, at least I'll have to test this again.

So basically the application is supposed to show you the notes that you have kept opened and hide those that weren't. As said it's supposed, I'll have a closer look at this behavior. If this doesn't fit your case I can bring up an option "Show all notes on startup" back in again. I have also the intention to add an option "Show/Hide all notes" when clicking the panel button / status icon.

Can you tell me if you use the panel plugin or the standalone application (xfce4-notes)?

Regards,
Mike
Comment 2 Todd 2011-10-04 02:22:06 CEST
Hi Mike,

I am using exactly xfce4-notes-plugin-1.7.6-3.fc15.x86_64.rpm.  It runs in the panel.  I would really love it if you brought back "Show all notes on startup".

Many thanks,
-T
Comment 3 Todd 2011-10-05 22:37:28 CEST
Created attachment 3887 
notes rc file

> the configuration of the windows is saved inside a simple RC file. This one has a value "visible" set to true/false.

Hi Mike,

I did not find this "visible" option.  I have attached my rc file.

Many thanks,
-T
Comment 4 Mike Massonnet editbugs 2011-10-06 20:57:46 CEST
That's the xfce4-notes.gtkrc file, if you use the panel plugin the configuration file should be in ~/.config/xfce4/panel/xfce4-notes-plugin*.rc
Comment 5 Todd 2011-10-14 00:02:28 CEST
(In reply to comment #4)
> That's the xfce4-notes.gtkrc file, if you use the panel plugin the
> configuration file should be in ~/.config/xfce4/panel/xfce4-notes-plugin*.rc

Worked perfectly.  Now if I would only learn to read ...

Thank you!
-T
Comment 6 Mike Massonnet editbugs 2012-05-22 00:05:36 CEST
*** Bug 8680 has been marked as a duplicate of this bug. ***
Comment 7 secipolla 2012-05-30 01:52:36 CEST
Title: Notes doesn't create ~/.config/xfce4/xfce4-notes.rc

Mike, I'm posting here just in case it's the same issue (I mean, if you need to work on this flaky saving behaviour).

I'm using notes 1.7.7 in Xfce 4.10 in Fedora 17.
When I reported bug 8680, which is the same as this one (8010) I was using the panel plugin and, just like for Todd here, after editing ~/.config/xfce4/panel/xfce4-notes-<ID>.rc at least I got it to start the way I wanted.
Now I'm using only xfce4-notes directly (no plugin on the panel) and, diferently than last time, I installed Xfce 4.10 directly instead of upgrading from 4.8. Simply I don't have a ~/.config/xfce4/xfce4-notes.rc so the notes start visible everytime and if I reorder them (even saving the session at logout) they start with the same order (wrong) everytime.

Maybe this broke in Xfce 4.10?
Comment 8 secipolla 2012-06-01 23:05:02 CEST
I closed xfce4-notes as everytime I logged into Xfce it would pop-up and in the wrong order. Then I was in the command line looking for some stuff and I found the rc files for both xfce4-notes and xfce4-notes-plugin.
So apparently it hadn't created those files because I had never closed the app ever since I first opened it.
Then when I opened xfce4-notes it was 'hidden' and with the notes properly sorted.
Next thing I'll check is if it will keep these settings if I leave it running when I logout.
Comment 9 secipolla 2012-06-01 23:07:11 CEST
...thinking better, if it saves the settings when it's closed then it will probably launch with the same settings it was opened.
Comment 10 secipolla 2012-06-09 19:04:56 CEST
This is looking more 'serious' that it appeared at first.
It doesn't save its settings unless it's closed so we make ten notes then at the next login it starts with the ones it had when we first opened it.

I suggest as a workaround maybe to add a 'save' function (ctrl+s). Then when we write something and it isn't saved yet it could have a different text colour (for folks that don't have tabs set) and/or add an asterisk before the name on the tab (like geany does).
Comment 11 Mike Massonnet editbugs 2013-05-25 15:20:13 CEST
(In reply to comment #10)
> This is looking more 'serious' that it appeared at first.
> It doesn't save its settings unless it's closed so we make ten notes then at
> the next login it starts with the ones it had when we first opened it.
> 
> I suggest as a workaround maybe to add a 'save' function (ctrl+s). Then when
> we write something and it isn't saved yet it could have a different text
> colour (for folks that don't have tabs set) and/or add an asterisk before
> the name on the tab (like geany does).

ack for putting an asterisk f.e. with the ctrl+s shortcut.
Comment 12 Git Bot editbugs 2020-05-23 00:24:17 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/panel-plugins/xfce4-notes-plugin/-/issues/5.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #8010

Reported by:
Todd
Reported on: 2011-10-01
Last modified on: 2020-05-23
Duplicates (1):
  • 8680 Xfce 4.10 seems to have broken notes in some way.

People

Assignee:
Mike Massonnet
CC List:
1 user

Version

Version:
unspecified

Attachments

notes rc file (282 bytes, text/x-gtkrc)
2011-10-05 22:37 CEST , Todd
no flags

Additional information