Skip to content

Commit

Permalink
Avoid quick flicker of the window before minimizing it.
Browse files Browse the repository at this point in the history
Update documentation, about and locales.
  • Loading branch information
Humdinger committed Aug 1, 2015
1 parent 5470d28 commit 0d8616b
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 8 deletions.
11 changes: 8 additions & 3 deletions App.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,12 @@ App::~App()
void
App::ReadyToRun()
{
fMainWindow = new MainWindow(fSettings.GetWindowPosition());
fMainWindow = new MainWindow(BRect(fSettings.GetWindowPosition()));

fMainWindow->MoveBy(4000, 0); // Move out of view to avoid flicker
fMainWindow->Show();
fMainWindow->Minimize(true);
fMainWindow->MoveBy(-4000, 0);
}


Expand All @@ -47,8 +50,10 @@ App::AboutRequested()
B_TRANSLATE("Clipdinger v0.4\n"
"\twritten by Humdinger\n"
"\tCopyright 2015\n\n"
"Clipdinger provides a history of "
"clippings of the system clipboard.\n"),
"Clipdinger provides a history of clippings of the system "
"clipboard and lets you create favorites.\n\n"
"Please let me know of any bugs you find or features you "
"miss. Contact info is in the ReadMe, see menu item 'Help'."),
B_TRANSLATE("Thank you"));

BTextView *view = alert->TextView();
Expand Down
1 change: 1 addition & 0 deletions ReadMe.html
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ <h2>
<li><p>Obviously, Clipdinger can only keep a clipboard history while it's running. You should therefore create a link to it in the <span class="path">/boot/home/config/settings/boot/launch/</span> folder. Then it gets started automatically on every boot-up.</p></li>
<li><p>All changes in the settings window can be viewed live in the main window. To find the right fading settings for you, it's best to keep working normally for some time to fill the history and then just play around with the sliders until you're satisfied.</p></li>
<li><p>Clipdinger's <span class="menu">Auto-paste</span> feature can be a bit tricky: It doesn't know in which application's window you pressed <span class="key">SHIFT</span> <span class="key">ALT</span> <span class="key">V</span> for it to pop up. With activated auto-paste, it simply pastes into last window that was active before you hit <span class="key">ENTER</span> or double-clicked an entry. So, avoid detours...</p></li>
<li><p>If you want to back up Clipdinger's settings, history or favorites, or have the need to delete one or all of these files, you'll find them under <span class="path">/boot/home/config/settings/Clipdinger/</span>.</p></li>
</ul>

<h2>
Expand Down
2 changes: 1 addition & 1 deletion Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ If you leave your computer or just know that you won't do any copy&paste for a l
* Obviously, Clipdinger can only keep a clipboard history while it's running. You should therefore create a link to it in the `/boot/home/config/settings/boot/launch/` folder. Then it gets started automatically on every boot-up.
* All changes in the settings window can be viewed live in the main window. To find the right fading settings for you, it's best to keep working normally for some time to fill the history and then just play around with the sliders until you're satisfied.
* Clipdinger's _Auto-paste_ feature can be a bit tricky: It doesn't know in which window you pressed _SHIFT_ + _ALT_ + _V_ for it to pop up. With activated auto-paste, it simply pastes into last window that was active before you hit _ENTER_ or double-clicked an entry. So, avoid detours...

* If you want to back up Clipdinger's settings, history or favorites, or have the need to delete one or all of these files, you'll find them under `/boot/home/config/settings/Clipdinger/`.


### Download
Expand Down
4 changes: 2 additions & 2 deletions locales/de.catkeys
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
1 German application/x-vnd.Clipdinger 386919629
1 German application/x-vnd.Clipdinger 93257293
Entries fade every %A% minutes.\nThe maximal tint is reached after\n%B% minutes (in %C% steps) SettingsWindow Einträge werden alle %A% Minuten dunkler.\nDie maximale Abdunklung wird nach\n%B% Minuten erreicht (in %C% Stufen)
Title: EditWindow Titel:
Clear history MainWindow Historie löschen
Expand Down Expand Up @@ -28,7 +28,7 @@ Auto-paste SettingsWindow Auto-Einfügen
Help MainWindow Hilfe
Thank you Application Danke
Delay SettingsWindow Zeitintervall
Clipdinger v0.4\n\twritten by Humdinger\n\tCopyright 2015\n\nClipdinger provides a history of clippings of the system clipboard.\n Application Clipdinger v0.4\n\tvon Humdinger\n\tCopyright 2015\n\nClipdinger bietet eine Historie für die Zwischenablage.\n
Clipdinger v0.4\n\twritten by Humdinger\n\tCopyright 2015\n\nClipdinger provides a history of clippings of the system clipboard and lets you create favorites.\n\nPlease let me know of any bugs you find or features you miss. Contact info is in the ReadMe, see menu item 'Help'. Application Clipdinger v0.4\n\tvon Humdinger\n\tCopyright 2015\n\nClipdinger bietet eine Historie für die Zwischenablage und die Anlage von Favoriten.\n\nBerichte zu Bugs oder gewünschten Features sind sehr willkommen. Kontaktinfos befinden sich im ReadMe, siehe Menü 'Hilfe'.
Remove clip ClipList Eintrag entfernen
Clipdinger settings SettingsWindow Clipdinger Einstellungen
Cancel EditWindow Abbrechen
Expand Down
4 changes: 2 additions & 2 deletions locales/en.catkeys
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
1 English application/x-vnd.Clipdinger 386919629
1 English application/x-vnd.Clipdinger 93257293
Entries fade every %A% minutes.\nThe maximal tint is reached after\n%B% minutes (in %C% steps) SettingsWindow Entries fade every %A% minutes.\nThe maximal tint is reached after\n%B% minutes (in %C% steps)
Title: EditWindow Title:
Clear history MainWindow Clear history
Expand All @@ -21,14 +21,14 @@ Edit title ClipList Edit title
Pause fading MainWindow Pause fading
Cancel SettingsWindow Cancel
Clipdinger System name Clipdinger
Clipdinger v0.4\n\twritten by Humdinger\n\tCopyright 2015\n\nClipdinger provides a history of clippings of the system clipboard and lets you create favorites.\n\nPlease let me know of any bugs you find or features you miss. Contact info is in the ReadMe, see menu item 'Help'. Application Clipdinger v0.4\n\twritten by Humdinger\n\tCopyright 2015\n\nClipdinger provides a history of clippings of the system clipboard and lets you create favorites.\n\nPlease let me know of any bugs you find or features you miss. Contact info is in the ReadMe, see menu item 'Help'.
Fade history entries over time SettingsWindow Fade history entries over time
Max. tint level SettingsWindow Max. tint level
Steps SettingsWindow Steps
Auto-paste SettingsWindow Auto-paste
Help MainWindow Help
Thank you Application Thank you
Delay SettingsWindow Delay
Clipdinger v0.4\n\twritten by Humdinger\n\tCopyright 2015\n\nClipdinger provides a history of clippings of the system clipboard.\n Application Clipdinger v0.4\n\twritten by Humdinger\n\tCopyright 2015\n\nClipdinger provides a history of clippings of the system clipboard.\n
Remove clip ClipList Remove clip
Clipdinger settings SettingsWindow Clipdinger settings
Cancel EditWindow Cancel
Expand Down

0 comments on commit 0d8616b

Please sign in to comment.