GNOME Bugzilla – Bug 121883
Note size is not limited to size of screen
Last modified: 2009-04-29 09:28:16 UTC
Description of Problem: If you put more text then can fit on the screen in a note, it will shoot off the edge of the screen. There isn't a way to get this part of the note back except for deleting some text. Steps to reproduce the problem: 1. open a new note 2. paste a long body of text on a note 3. try to get back the part that is not displayed Actual Results: can't be done Expected Results: a scroll bar or a limit to the amount of text How often does this happen? every time
*** Bug 141228 has been marked as a duplicate of this bug. ***
Basically a note is something that is usually brief. So we do not take pages and pages of notes. I dont think adding scroll bar to the sticky notes applet would be nice. If instead we need to add huge information then we can probably open an editor,.. why sticky notes? And it would be easier to glance the notes at one look,instead of scrolling it. What about the limit to the amount of text? The possible solutions may be 1. To stop resizing the widows outside the windows border. 2. And Have a limit to the amount of text. calum: usability?
If you pick option 1 I suggest adding a scrollbar (automatically) if the note is the size of the screen and more text is added then can fit. Even if a user only wants to add short things, it can be easy to middle click accidentily and add something that could induce this bug. Oh and my father does infact make very long notes on a similar program (knote) except it's rather unstable and ate his data once. If you chose option 2, if the user added a note that was longer then the limit you could only create the first 20 or so letters as a link that opens a text editor with the fill thing.
Another option could be this: Since sticky notes are supposed to emulate post-it notes, and if we want to write a lot on a note, we simply write smaller... we could reduce the font size as the amount of data increases so that it fits in that space. If the amount of data is too large, i.e. if the font tries to drop below a certain threshold value (stored in gconf) the user will not be allowed to enter any more data and will be prompted to open a new sticky note or an editor.
I wouldn't have any objection to adding a scrollbar when necessary. Yes, we're emulating post-it notes here, but predictably extending a real-world metaphor can often be better than sticking rigidly to it just for the sake of it, and I think that's true in this case.
(Note than by "when necessary" I mean "only when the note has expanded to the height of the screen and there's still not enough room to display it all"-- so for the vast majority of users, the behaviour would remain the same as it is now.)
I totally agree with Calums suggested behavior!
I also agree with Calum, someone got a patch?
*** Bug 146749 has been marked as a duplicate of this bug. ***
I got bitten by this too. I kept adding notes at the top and my note got so long I created got quite long and even after I deleted a load of text I was unable to grab the lower edge and resize it to fit onscreen. I can work around it by copying and pasting the small bit of remaining text to a new carefully sized note.
This was reported as http://bugzilla.ubuntu.com/show_bug.cgi?id=16097 as well.
It should also resize itself when you change font and back again. Creating a note , then changing the size font to 70, and then back to say 12 doesn't resize, and you lose the window handles off your screen.
It's been a while and this is still a "new" feature request. Please consider this comment an almost duplicate bug report. Notes should be short but I'd like to be able to make them large when I want to.
Created attachment 133528 [details] [review] Add scroller if the sticky note reaches outside the screen size I see that this bug is 5 years old, so now I took action! Well I wanted to try making a patch and here it is... Please comment or inform me of the correct way of doing this, cause I would like to get some form of credit, since I'm going to make many more patches in the near future ;o)
You're doing everything correctly so far. I generally give credit in the ChangeLog entry (and also in the release notes) so you don't have to do any more. If you really want to make sure, add a ChangeLog entry yourself and make it part of the patch. Some module maintainers don't like this (everyone has there own ideas about the correct way to do it) but I'm happy for people to write their own entries. (C-x 4 a is the emacs key sequence to add a ChangeLog entry.) As for the patch itself, I don't have time to review it right now. Hopefully I'll get to it this evening or tomorrow evening. Thanks.
OK, I've reviewed the patch and committed it. I made a few changes. The major one is that I set the maximum height to be 80% of the screen height. 100% still hides parts of the note behind the panel. 80% is possibly a bit small, but will cover 99.9% of all cases. That closes the bug I think. Thanks.