Feed Advanced Search

Feb 21 2020

davidre closed D27415: Use KConfigDialogManager to manage main window settings.
Feb 21 2020, 7:37 AM · Spectacle
davidre updated the summary of D27415: Use KConfigDialogManager to manage main window settings.
Feb 21 2020, 7:36 AM · Spectacle

Feb 17 2020

ervin added a comment to D27373: Port general settings and save setting to ui files.

Couple of nitpicks, feel free to ignore

Feb 17 2020, 11:08 AM · Spectacle

Feb 16 2020

ngraham added a comment to D27415: Use KConfigDialogManager to manage main window settings.

Oh wow, silly me. Shipit!

Feb 16 2020, 5:40 PM · Spectacle
davidre added a comment to D27415: Use KConfigDialogManager to manage main window settings.

I guess? Note that I authored this diff :)

Feb 16 2020, 8:05 AM · Spectacle

Feb 15 2020

ngraham accepted D27415: Use KConfigDialogManager to manage main window settings.

@davidre, does this look good to you?

Feb 15 2020, 11:39 PM · Spectacle

Feb 14 2020

davidre requested review of D27415: Use KConfigDialogManager to manage main window settings.
Feb 14 2020, 5:11 PM · Spectacle
ngraham accepted D27373: Port general settings and save setting to ui files.
Feb 14 2020, 5:20 AM · Spectacle

Feb 13 2020

davidre added a reviewer for D27373: Port general settings and save setting to ui files: ngraham.
Feb 13 2020, 4:09 PM · Spectacle
davidre updated the diff for D27373: Port general settings and save setting to ui files.

remove unused variable

Feb 13 2020, 4:08 PM · Spectacle
davidre requested review of D27373: Port general settings and save setting to ui files.
Feb 13 2020, 3:58 PM · Spectacle

Feb 10 2020

dporobic added a comment to D22074: Add image annotation via libKImageAnnotator.

All commits for kColorPicker:

Meanwhile there have been some updates to kImageAnnotator, maybe you want to add them too, even tough some unit tests are currently broken, I need to fix them, so potentially more commits coming.

Feb 10 2020, 7:23 AM · Spectacle

Feb 6 2020

johanneszarl closed T10525: Replace KIPI-Plugins with purpose as Resolved.

I'm closing this issue for now because from my point of view the core issue seems to be sufficiently dealt with.

Feb 6 2020, 11:39 PM · Spectacle, Gwenview, KPhotoAlbum
ngraham closed D25883: Find qdbus command correctly.
Feb 6 2020, 6:18 PM · Spectacle

Jan 31 2020

sitter accepted D25883: Find qdbus command correctly.

@ngraham please see to it that ECMQueryQMake becomes public in ECM. Specifically remove the comment about it not being public and add proper documentation sugar to the file (see other modules for example I guess).

Jan 31 2020, 1:25 PM · Spectacle
davidre closed D26929: Take screenshot with currently selected options.
Jan 31 2020, 10:03 AM · Spectacle
davidre added a comment to D26929: Take screenshot with currently selected options.

It's harder to fix because on 19.12 we save not the last capture mode but the index of the combobox which doesn't map directly to the capture mode. And I don't want to change what's being saved in the config on stable or duplicate the combobox mapping here (which also is broken) so I will push this only to master

Jan 31 2020, 10:02 AM · Spectacle
davidre updated the summary of D26929: Take screenshot with currently selected options.
Jan 31 2020, 9:59 AM · Spectacle

Jan 30 2020

davidre added a comment to D26929: Take screenshot with currently selected options.

Whoops I say fixed-in 19.12.2 but that patch is only against master. That bug is probably also in stable and here it comes from straight porting. I will look into it and also submit a patch for 19.12

Jan 30 2020, 7:55 AM · Spectacle

Jan 29 2020

ngraham accepted D26929: Take screenshot with currently selected options.
Jan 29 2020, 6:52 PM · Spectacle
davidre closed D26619: Correctly handle defaultSaveLocation without scheme.
Jan 29 2020, 2:35 PM · Spectacle

Jan 26 2020

davidre updated the diff for D26929: Take screenshot with currently selected options.

Remove unrelated change

Jan 26 2020, 3:43 PM · Spectacle
davidre requested review of D26929: Take screenshot with currently selected options.
Jan 26 2020, 3:42 PM · Spectacle

Jan 24 2020

ngraham added a comment to D25883: Find qdbus command correctly.

I don't think I have the skills to rewrite the whole dbus activation stuff from scratch. If nobody else has the bandwidth to do that, can we just land this as a flawed-but-reasonable solution to the problem?

Jan 24 2020, 4:42 PM · Spectacle

Jan 22 2020

ngraham updated the diff for D25883: Find qdbus command correctly.

Rebase

Jan 22 2020, 10:10 PM · Spectacle
dporobic added a comment to D22074: Add image annotation via libKImageAnnotator.

All commits for kColorPicker:

Jan 22 2020, 12:56 PM · Spectacle
nicolasfella added a comment to D22074: Add image annotation via libKImageAnnotator.

Whats the process for adding new Widgets to KWidgetsAddons?

Jan 22 2020, 12:09 PM · Spectacle
dporobic added a comment to D22074: Add image annotation via libKImageAnnotator.

Whats the process for adding new Widgets to KWidgetsAddons?

Jan 22 2020, 9:58 AM · Spectacle
mmustac added a comment to D22074: Add image annotation via libKImageAnnotator.

It seems to me that KColorPicker has not been pushed into KWidgetsAddons until now. Maybe it would also help to port KImageAnnotator to make use of KColorButton instead which is already included in the widgets?
As I am no developer I am not sure if this could help but it seems to me that this dependency/build problem is the last piece left before it could be shipped, right?

Jan 22 2020, 9:45 AM · Spectacle

Jan 13 2020

davidre updated the diff for D26619: Correctly handle defaultSaveLocation without scheme.

scheme().isEmpty()

Jan 13 2020, 10:07 AM · Spectacle
davidre requested review of D26619: Correctly handle defaultSaveLocation without scheme.
Jan 13 2020, 10:05 AM · Spectacle
broulik requested changes to D23316: Port towards KConfig XT.
Jan 13 2020, 8:55 AM · Spectacle
broulik reopened D23316: Port towards KConfig XT.

This breaks saving screenshots with keyboard shortcuts.

Jan 13 2020, 8:54 AM · Spectacle

Jan 8 2020

ngraham updated subscribers of D25883: Find qdbus command correctly.
Jan 8 2020, 6:17 PM · Spectacle
kossebau added a comment to D25883: Find qdbus command correctly.

That however needs support in kglobalaccel and whatever handels jumplist actions right? Maybe you could add your thoughts to T12063 and/or T2050

Jan 8 2020, 4:54 PM · Spectacle
ngraham added a comment to D25883: Find qdbus command correctly.

You're probably right, but this DBus activation stuff is way over my head. Someone else is probably going to need to take the lead on it, if it's the right way to go.

Jan 8 2020, 4:46 PM · Spectacle
kossebau added a comment to D25883: Find qdbus command correctly.

BTW, not invoking yet another process with the qdbus executable, but instead sending off the D-Bus message drectly might also increase reaction time.

Jan 8 2020, 4:42 PM · Spectacle
davidre added a comment to D25883: Find qdbus command correctly.

Do I correctly understand from the previous patches that spectacle should now be single instance application? In that case it might really make more sense to investigate to use the official D-Bus Activation part of the desktop file specification instead of manual D-Bus message sending hackery. That part had been designed for such use cases from what I can tell.

Jan 8 2020, 4:41 PM · Spectacle
kossebau added a comment to D25883: Find qdbus command correctly.

Do I correctly understand from the previous patches that spectacle should now be single instance application? In that case it might really make more sense to investigate to use the official D-Bus Activation part of the desktop file specification instead of manual D-Bus message sending hackery. That part had been designed for such use cases from what I can tell.

Jan 8 2020, 4:25 PM · Spectacle
ngraham added a comment to D25883: Find qdbus command correctly.

I tried dbus-send in D25293 but it was impossible to make work (@davidedmundson and I spent an afternoon on it unsuccessfully). qdbus seems like the only practical option unless we want to re-engineer everything. While that's possible, and maybe desirable long-term it seems like overkill to me for fixing this fairly simple bug.

Jan 8 2020, 3:25 PM · Spectacle
kossebau added a comment to D25883: Find qdbus command correctly.

Looking at the actual code being touched here: Is qdbus actually a good choice here? Can it be expected to be installed by default? Would dbus-send not be the better option, as it seems part of the normal D-Bus demon implementation package?

Jan 8 2020, 2:32 PM · Spectacle

Jan 6 2020

ngraham added a comment to D25883: Find qdbus command correctly.

@kossebau Ping regarding the requested changes to the macro.

Jan 6 2020, 3:22 PM · Spectacle

Jan 3 2020

gengisdave abandoned D26383: Open screenshot folder with default file manager.

Closed in favor of adding FileManager1 dbus interface to Krusader

Jan 3 2020, 4:31 PM · Spectacle
gengisdave updated the summary of D26383: Open screenshot folder with default file manager.
Jan 3 2020, 8:50 AM · Spectacle
gengisdave requested review of D26383: Open screenshot folder with default file manager.
Jan 3 2020, 8:49 AM · Spectacle

Dec 31 2019

davidre added a comment to D23316: Port towards KConfig XT.

Landing it now - it's after christmas and I should have time in the next days/week to fix issues that we find.

But then the commit message is incorrect, as it's not FIXED-IN 19.12.

I pushed a few follow-up fixes to the strings introduced by this change here: https://commits.kde.org/spectacle/befcb1748b2a770bce28d3aed0f0b4addd06d622

Dec 31 2019, 2:48 PM · Spectacle
ltoscano added a comment to D23316: Port towards KConfig XT.

Landing it now - it's after christmas and I should have time in the next days/week to fix issues that we find.

Dec 31 2019, 2:25 PM · Spectacle

Dec 28 2019

ngraham moved T6321: [WISH] Create a quick image editor for Spectacle from Backlog to REVIEW on the Spectacle board.
Dec 28 2019, 8:41 PM · VDG, Spectacle
ngraham moved T6321: [WISH] Create a quick image editor for Spectacle from Backlog/Planned to Sent to dev on the VDG board.
Dec 28 2019, 8:41 PM · VDG, Spectacle

Dec 27 2019

ngraham updated the diff for D25883: Find qdbus command correctly.

Rebase

Dec 27 2019, 6:19 PM · Spectacle
ngraham added a comment to D25883: Find qdbus command correctly.

What is the path forward here?

Dec 27 2019, 3:37 PM · Spectacle
davidre closed D23316: Port towards KConfig XT.
Dec 27 2019, 2:49 PM · Spectacle
davidre added a comment to D23316: Port towards KConfig XT.

Landing it now - it's after christmas and I should have time in the next days/week to fix issues that we find.

Dec 27 2019, 2:49 PM · Spectacle

Dec 20 2019

ngraham accepted D23316: Port towards KConfig XT.

Is there a way we can move forwards? Do other Applications that use KConfigDialog exhibit this problem, too? If yes maybe it's something to improve at that level. If not we can have a look what they do.
https://lxr.kde.org/ident?_i=KConfigDialog
For example in Okular I even get scrollbars with default settings.

Dec 20 2019, 7:29 PM · Spectacle
guoyunhe added a comment to D23316: Port towards KConfig XT.

With empty spectaclerc it is fine. I forget to keep my original rc file. Probably have a back up in my external drive. Will let you know when I get the backup.

Dec 20 2019, 4:32 PM · Spectacle
davidre added a comment to D23316: Port towards KConfig XT.

Saving option is broken on my system. Clicking "Save" button throws error "Invalid file name". The default pattern is not saved. I have to go to configuration dialog and click "OK" to save the file name pattern

Do you mean it's not saved in the config file? That's fine, the generated code doesn't write default values to the config file.
I can't reproduce the error with an empty or my spectaclerc. Can you reproduce it? With you current config file or with a new one? If yes, what's your value of saveFilenameFormat?

The default format combobox shows "BMP". But it was "PNG" before. For screenshots, I think "PNG" and "JPEG" are enough. More options bring confusion.

That's because I changed the key in the config file. See the update script

Dec 20 2019, 12:55 PM · Spectacle
guoyunhe added a comment to D23316: Port towards KConfig XT.

Saving option is broken on my system. Clicking "Save" button throws error "Invalid file name". The default pattern is not saved. I have to go to configuration dialog and click "OK" to save the file name pattern.

Dec 20 2019, 9:25 AM · Spectacle
guoyunhe added a comment to D23316: Port towards KConfig XT.

Look good in openSUSE:

Dec 20 2019, 9:13 AM · Spectacle

Dec 19 2019

davidre added a comment to D23316: Port towards KConfig XT.

Is there a way we can move forwards? Do other Applications that use KConfigDialog exhibit this problem, too? If yes maybe it's something to improve at that level. If not we can have a look what they do.
https://lxr.kde.org/ident?_i=KConfigDialog
For example in Okular I even get scrollbars with default settings.

Dec 19 2019, 12:51 PM · Spectacle

Dec 12 2019

ngraham updated the test plan for D25883: Find qdbus command correctly.
Dec 12 2019, 8:38 PM · Spectacle
ngraham added a comment to D25883: Find qdbus command correctly.

The Qt binaries dir is only versioned for major versions (4, 5, 6) so the path does not become invalid when you upgrade minor Qt versions.

Dec 12 2019, 8:38 PM · Spectacle
fvogt added a comment to D25883: Find qdbus command correctly.

I'm wondering whether this might not actually break the "qtchooser" variant - if binaries are in a Qt version specific dir, the path to qdbus would no longer exist after a Qt update without a rebuild of spectacle.

Dec 12 2019, 7:03 PM · Spectacle
ngraham added inline comments to D25883: Find qdbus command correctly.
Dec 12 2019, 10:33 AM · Spectacle

Dec 11 2019

kossebau added inline comments to D25883: Find qdbus command correctly.
Dec 11 2019, 2:20 PM · Spectacle
ngraham updated the summary of D25883: Find qdbus command correctly.
Dec 11 2019, 1:29 PM · Spectacle
ngraham updated the summary of D25883: Find qdbus command correctly.
Dec 11 2019, 1:17 PM · Spectacle
ngraham updated the diff for D25883: Find qdbus command correctly.

Find the Qt binaries dir in a safer way

Dec 11 2019, 1:17 PM · Spectacle
davidre added a comment to D25883: Find qdbus command correctly.

The best possible way of course would be that we support activating desktop actions via dbus and do so in kglobalaccel:
https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html#dbus

Dec 11 2019, 1:14 PM · Spectacle
fvogt added a comment to D25883: Find qdbus command correctly.

the actual name of the command is qdbus-qt<version> in the distro's Qt

Dec 11 2019, 1:07 PM · Spectacle
ngraham added a comment to D25883: Find qdbus command correctly.

Right, I don't think that's ever expected to work.

Dec 11 2019, 1:05 PM · Spectacle
davidre added a comment to D25883: Find qdbus command correctly.

Hmm that requires that we have qtpaths at build time which is for example shipped in qttools5-dev-tools. And that between build system and run time qdbus is in the same location. Is that an assumption we can make? I'm not an expert but I think there is never a case where you would compile on one distro and then try to run it on another?

Dec 11 2019, 12:57 PM · Spectacle
ngraham abandoned D25293: Use dbus-send instead of qdbus for global shortcuts.

Found a better way that doesn't involve going insane trying to make dbus-send work: D25883

Dec 11 2019, 12:53 PM · Spectacle
ngraham requested review of D25883: Find qdbus command correctly.
Dec 11 2019, 12:53 PM · Spectacle

Dec 9 2019

ngraham added inline comments to D23446: Shortcuts displayed in capture mode ComboBox.
Dec 9 2019, 7:47 PM · Spectacle

Dec 6 2019

ngraham added a comment to D23316: Port towards KConfig XT.

Youre font seems bolder? Anyways we can easily increase the height.

Dec 6 2019, 4:02 PM · Spectacle
ngraham closed D23723: Save image to clipboard if --nonotify is used.
Dec 6 2019, 1:37 PM · Spectacle
davidre updated the diff for D23316: Port towards KConfig XT.

Rebase once more

Dec 6 2019, 8:20 AM · Spectacle
davidre added a comment to D23316: Port towards KConfig XT.

All functionality works perfectly for me. However this regressed the default width of the settings window. Not it's not wide enough to accommodate all controls without an ugly horizontal scrollbar:

Dec 6 2019, 8:17 AM · Spectacle
davidre requested changes to D23446: Shortcuts displayed in capture mode ComboBox.
Dec 6 2019, 8:11 AM · Spectacle
davidre added a comment to D23446: Shortcuts displayed in capture mode ComboBox.

I still think this a cool feature, but I have the feeling this can be done in a much shorter patch. This seems to me a bit like overkill. Would be awesome if maybe somebody else could weigh in.

Dec 6 2019, 8:07 AM · Spectacle
davidre accepted D23723: Save image to clipboard if --nonotify is used.
Dec 6 2019, 7:58 AM · Spectacle

Dec 5 2019

ngraham requested changes to D23316: Port towards KConfig XT.

All functionality works perfectly for me. However this regressed the default width of the settings window. Not it's not wide enough to accommodate all controls without an ugly horizontal scrollbar:

Dec 5 2019, 10:36 PM · Spectacle
ngraham added a comment to D23723: Save image to clipboard if --nonotify is used.

@davidre, is this okay now?

Dec 5 2019, 10:19 PM · Spectacle
davidre closed D25765: Fix issue preventing spectacle from opening.
Dec 5 2019, 3:18 PM · Spectacle
ngraham accepted D25765: Fix issue preventing spectacle from opening.

Nice catch.

Dec 5 2019, 3:14 PM · Spectacle
davidre requested review of D25765: Fix issue preventing spectacle from opening.
Dec 5 2019, 3:08 PM · Spectacle
davidre updated the diff for D23316: Port towards KConfig XT.

rebase

Dec 5 2019, 1:47 PM · Spectacle
davidre updated the diff for D23316: Port towards KConfig XT.

Need a bit more height

Dec 5 2019, 1:45 PM · Spectacle

Nov 26 2019

davidre updated the diff for D23316: Port towards KConfig XT.

Correctly read default value dependent on another config entry

Nov 26 2019, 9:49 AM · Spectacle

Nov 22 2019

guoyunhe added a comment to D25475: Save combobox value instead of index.

Yeah, look exactly the same, maybe yours is better (with configuration update script). We can close this one when yours get accepted.

Nov 22 2019, 9:50 PM · Spectacle
davidre added a comment to D25475: Save combobox value instead of index.

I added a similar fix earlier today to
D23316

Nov 22 2019, 9:28 PM · Spectacle
guoyunhe added a reviewer for D25475: Save combobox value instead of index: Spectacle.
Nov 22 2019, 8:16 PM · Spectacle
guoyunhe requested review of D25475: Save combobox value instead of index.
Nov 22 2019, 8:16 PM · Spectacle
davidre updated the diff for D23316: Port towards KConfig XT.

Also use enum for the last selected captureMode

Nov 22 2019, 12:19 PM · Spectacle

Nov 21 2019

davidre updated the diff for D23316: Port towards KConfig XT.
  • Fix typo in update file
Nov 21 2019, 3:11 PM · Spectacle
ervin added a comment to D23316: Port towards KConfig XT.

LGTM, I'd still aim for the .ui port as a second step though.

Nov 21 2019, 11:30 AM · Spectacle
davidre updated the diff for D23316: Port towards KConfig XT.

address comments

Nov 21 2019, 9:58 AM · Spectacle

Nov 18 2019

ervin added a comment to D23316: Port towards KConfig XT.

Looks good to me regarding the kconfig_compiler use (epsilon one key which would be better suited to an enum).
The next natural step would be to switch the dialog pages to ui files, that would remove some more code.

If we have to port it to anything, I'd prefer a QML-based UI rather than making new .ui files.

Nov 18 2019, 5:05 PM · Spectacle
ngraham added a comment to D23316: Port towards KConfig XT.

Looks good to me regarding the kconfig_compiler use (epsilon one key which would be better suited to an enum).
The next natural step would be to switch the dialog pages to ui files, that would remove some more code.

Nov 18 2019, 4:15 PM · Spectacle
crossi added inline comments to D23316: Port towards KConfig XT.
Nov 18 2019, 1:26 PM · Spectacle