After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 689171 - Note text can appear beneath the last updated label
Note text can appear beneath the last updated label
Status: RESOLVED OBSOLETE
Product: bijiben
Classification: Applications
Component: UI
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Bijiben maintainer(s)
Bijiben maintainer(s)
: 708305 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2012-11-27 15:44 UTC by Allan Day
Modified: 2018-05-04 12:05 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
screenshot (30.06 KB, image/png)
2012-11-27 15:44 UTC, Allan Day
  Details
Some dirty widget we do not want (31.08 KB, image/png)
2013-10-26 09:22 UTC, Pierre-Yves Luyten
  Details
move "last updated" to note menu (22.95 KB, patch)
2015-12-03 18:15 UTC, Carl van Tonder
none Details | Review
Move "Last updated" to menu (4.68 KB, patch)
2015-12-07 16:45 UTC, Carl van Tonder
none Details | Review
translation updates for "Last updated" change (20.25 KB, application/mbox)
2015-12-07 16:46 UTC, Carl van Tonder
  Details

Description Allan Day 2012-11-27 15:44:37 UTC
Created attachment 230013 [details]
screenshot

See the attached screenshot - the text appears superimposed on top of the last updated label.

The mockups suggest that the last updated label should appear at the bottom of the note as a footer:

https://raw.github.com/gnome-design-team/gnome-mockups/master/notes/notes-single.png

(Notice that the page lines stop above the last updated label.)
Comment 1 Pierre-Yves Luyten 2013-05-12 20:53:59 UTC
Sorry i just saw i did not feed back about this one.

"Assigned" since it's obviously a right bug, but i did not even decided which way to go - eg "footer" as in html, meaning some re-vamp there, or stick with current option of some widget on top, meaning working on the layout.
Comment 2 Pierre-Yves Luyten 2013-09-18 17:39:00 UTC
*** Bug 708305 has been marked as a duplicate of this bug. ***
Comment 3 Pierre-Yves Luyten 2013-09-18 17:39:53 UTC
from #708305

jimmac: Similar behavior has been solved on the web by having the footer float by
default, but if the scrollable is taller than the window size, the footer is
not floating but static.
Comment 4 Pierre-Yves Luyten 2013-10-26 09:22:22 UTC
Created attachment 258159 [details]
Some dirty widget we do not want

One way would be to simply pack a widget, with almost no code. The issue is that scrollbar won't be fine.

Just to be sure i am not the only one dismissing this solution.
Comment 5 Pierre-Yves Luyten 2014-04-06 22:03:04 UTC
Now I'm using a GtkWidget for this. To be honest this is slightly worse for now.
Comment 6 Chunyang Xu 2014-04-17 11:50:23 UTC
The format widget (appears when select some text) can be hided by the last updated label too.
Comment 7 Pierre-Yves Luyten 2014-04-17 12:23:40 UTC
(In reply to comment #6)
> The format widget (appears when select some text) can be hided by the last
> updated label too.

Yes the last updated is currently a GtkLabel*
https://git.gnome.org/browse/bijiben/tree/src/bjb-note-view.c#n171

The widget to cut/copy/paste is a popover. This part is fine.

Back to the GtkLabel. The more natural would be to use html power there. We can rely on some java script to add a footer to actual note content. This would imply to remove the widget, the WebkitWebView would include this footer.
Comment 8 Eddy Castillo 2014-08-15 12:59:59 UTC
Could be possible to at least move it to the right, so it is less obvious. Because once you are at the bottom, it's difficult to write anything there, with that label on top.

Although, people who use RTL... how does that work?
Comment 9 Pierre-Yves Luyten 2014-08-26 19:58:21 UTC
(In reply to comment #8)
> Could be possible to at least move it to the right, so it is less obvious.
> Because once you are at the bottom, it's difficult to write anything there,
> with that label on top.

I confess this should have been done long time ago.
Better late than never :
commit 0fbd7f5cd8f2cbc228205d6772b9627d21c5245d


> Although, people who use RTL... how does that work?

In theory we should make it opposite for RTL, but unfortunately a bug is currently opened about these not working.
Comment 10 Allan Day 2014-11-21 11:13:28 UTC
Moving the label to the right still means that the "last updated" text can be displayed over the note text, so it doesn't actually fix the bug. Wouldn't showing "last updated" as a footer be better?
Comment 11 Allan Day 2015-01-07 16:04:14 UTC
(In reply to comment #10)
> ... Wouldn't
> showing "last updated" as a footer be better?

Alternatively, if it is really so hard to put the last updated text in the note itself, it could be shown in the header bar, as a sub-heading.
Comment 12 Allan Day 2015-01-28 12:31:19 UTC
I discussed this bug with Cosimo yesterday, and he made the good point that you probably don't need to see the last updated information all the time when viewing a note - this information is actually more important in the notes grid/list.

Therefore, a good approach would be to move the last updated information to the header bar menu, as an insensitive label. Sound good?!
Comment 13 pedrum 2015-02-10 00:27:11 UTC
I'm seeing this behavior on 3.14.2 (Debian "jessie/testing"). The 'Last updated' text in the notes view (not the notes index or listing view) interferes with reading of notes content itself, and at first seemed like some kind of z-ordering issue to me. I don't see the value of presenting this info on the note itself.
Comment 14 Allan Day 2015-04-24 09:16:39 UTC
(In reply to Allan Day from comment #12)
...
> Therefore, a good approach would be to move the last updated information to
> the header bar menu, as an insensitive label. Sound good?!

I discussed this proposal with Pierre yesterday, and he is happy with it.
Comment 15 Carl van Tonder 2015-12-03 18:15:15 UTC
Created attachment 316733 [details] [review]
move "last updated" to note menu

(In reply to Allan Day from comment #14)
> (In reply to Allan Day from comment #12)
> ...
> > Therefore, a good approach would be to move the last updated information to
> > the header bar menu, as an insensitive label. Sound good?!
> 
> I discussed this proposal with Pierre yesterday, and he is happy with it.

Patch moving "Last updated" to an insensitive menu item at the bottom of the note menu. Includes translation updates, as "<b>" tags are removed from the string.
Comment 16 Carl van Tonder 2015-12-03 18:19:56 UTC
The text doesn't change when you edit the note, but I notice that's a problem before my patch, too -- #759003 

This patch should also resolve #726067 (if it's still outstanding)
Comment 17 Pierre-Yves Luyten 2015-12-04 22:26:57 UTC
(In reply to Carl van Tonder from comment #15)
> Created attachment 316733 [details] [review] [review]
> move "last updated" to note menu

can you split code change from .po translations change?
Comment 18 Carl van Tonder 2015-12-07 16:45:43 UTC
Created attachment 316891 [details] [review]
Move "Last updated" to menu
Comment 19 Carl van Tonder 2015-12-07 16:46:16 UTC
Created attachment 316892 [details]
translation updates for "Last updated" change
Comment 20 GNOME Infrastructure Team 2018-05-04 12:05:54 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME'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.gnome.org/GNOME/gnome-notes/issues/3.