Summary: | "Save to file"-option for Notes-plasmoid | ||
---|---|---|---|
Product: | [Unmaintained] plasma4 | Reporter: | Lukas Appelhans <l.appelhans> |
Component: | widget-misc | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | aseigo, bjoern |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
Patch for restoring scroll value
Save notes content into a file |
Description
Lukas Appelhans
2008-01-21 16:13:59 UTC
Created attachment 26990 [details]
Patch for restoring scroll value
I added that functionality.
It currently does not work when the note is in the panel.
And it has a problem scrolling at the bottom line. But I suspect that's a bug somewhere else and not the fault of notes or this patch.
Or does anybody have clue why saving with this line
cg.writeEntry("scrollValue", QVariant(m_textEdit->nativeWidget()->verticalScrollBar()->value()));
and restoring with this code
int scrollValue = cg.readEntry("scrollValue").toInt();
if(scrollValue){
m_textEdit->nativeWidget()->verticalScrollBar()->setValue(scrollValue);
}
might not work?
Ah sorry, wrong bug :( This is for 168160 Created attachment 27000 [details]
Save notes content into a file
Finally, here is a patch for this too. It adds an working "Save As"-Option to the context menu.
|