Feed Advanced Search

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.

Nov 18 2019, 7:31 AM · Spectacle

Nov 14 2019

ngraham added a comment to D25293: Use dbus-send instead of qdbus for global shortcuts.

Yeah, now that you mention it, I notice that too.

Nov 14 2019, 4:08 PM · Spectacle
davidre added a comment to D25293: Use dbus-send instead of qdbus for global shortcuts.

Sorry, it doesn't work for me either. I didn't relog before testing and I guess it was still using the qdbus commands. KLauncher gets the right arguments I think:

What does this mean? Sorry, I'm pretty new to dbus.

I don't know but KGlobalAccel uses KLauncher to execute the command found in the Exec line of the desktop file.
However I noticed something weird when manually using your dbus-send commands. dbus-send --session --dest='org.kde.Spectacle' --type=method_call '/' 'org.kde.Spectacle.StartAgent' only seemed to work every second time.

Nov 14 2019, 3:06 PM · Spectacle
ngraham added a comment to D25293: Use dbus-send instead of qdbus for global shortcuts.

Sorry, it doesn't work for me either. I didn't relog before testing and I guess it was still using the qdbus commands. KLauncher gets the right arguments I think:

Nov 14 2019, 2:40 PM · Spectacle
davidre updated subscribers of D23316: Port towards KConfig XT.

Maybe we can do this for 20.03 with 19.12 now branched. This would leave us some time to test it. What do you think @ngraham?

Nov 14 2019, 11:35 AM · Spectacle
davidre requested changes to D25293: Use dbus-send instead of qdbus for global shortcuts.
Nov 14 2019, 8:07 AM · Spectacle
davidre added a comment to D25293: Use dbus-send instead of qdbus for global shortcuts.

Sorry, it doesn't work for me either. I didn't relog before testing and I guess it was still using the qdbus commands. KLauncher gets the right arguments I think:

Nov 14 2019, 8:07 AM · Spectacle
fvogt added a comment to D25293: Use dbus-send instead of qdbus for global shortcuts.

It doesn't seem to work here either, but adding the --print-reply argument helps for some reason.

Nov 14 2019, 7:59 AM · Spectacle

Nov 13 2019

ngraham added a comment to D25293: Use dbus-send instead of qdbus for global shortcuts.

Shortcuts work for me. For testing make sure to install to /usr

Nov 13 2019, 10:59 PM · Spectacle
davidre accepted D25293: Use dbus-send instead of qdbus for global shortcuts.
Nov 13 2019, 9:19 PM · Spectacle
davidre added a comment to D25293: Use dbus-send instead of qdbus for global shortcuts.

Shortcuts work for me. For testing make sure to install to /usr since we link our .desktop from KDE_INSTALL_FULL_APPDIR to the kglobalaccel one.

Nov 13 2019, 9:19 PM · Spectacle
ngraham updated the test plan for D25293: Use dbus-send instead of qdbus for global shortcuts.
Nov 13 2019, 9:00 PM · Spectacle
ngraham requested review of D25293: Use dbus-send instead of qdbus for global shortcuts.
Nov 13 2019, 5:43 PM · Spectacle

Nov 9 2019

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

Use real file

Nov 9 2019, 2:35 PM · Spectacle
davidre updated the diff for D23316: Port towards KConfig XT.

Rebase

Nov 9 2019, 2:20 PM · Spectacle

Oct 19 2019

kpiwowarski abandoned D17248: Add Rectangular Region mode on wayland [RFC].
Oct 19 2019, 11:50 PM · Spectacle

Oct 10 2019

davidre closed D24508: Make all buttons in the main window activatable with enter.
Oct 10 2019, 10:21 AM · Spectacle
davidre updated the diff for D24508: Make all buttons in the main window activatable with enter.

add comment

Oct 10 2019, 10:16 AM · Spectacle

Oct 9 2019

ngraham accepted D24508: Make all buttons in the main window activatable with enter.

All right, fair enough! Let's maybe add some comments explaining the reason for the event handler, then ship it.

Oct 9 2019, 5:14 PM · Spectacle
davidre added a comment to D24508: Make all buttons in the main window activatable with enter.

This works, though I'll admit that the custom event filter makes me a bit queasy. Feels kind of like hacking around something that wasn't implemented the right way in the first place (i.e. using a QDialog and QDialogButtonBox). Is porting away from that stuff even worse?

I tried making it a QWidget but then no button was reacting to enter and we would lose close-on-esc which we would then have to implement ourselves. Hey it's, not *that* bad ;). It's an only an handler and not a filter for another widget.
Maybe someone with more experience has another idea? Or we concede that no button can be activated with Enter only with Space.

Also is there a reason why we can't use only PushButtons in the main window? I was surprised to discover that half of them were ToolButtons when I went digging into the code, because they all *look* like PushButtons.

I didn't wrote the code but the obvious reason would be that one can assign actions to ToolButtons. Here it is used with KStandardActions and I use it for the screenshot button to switch easily between states.

Oct 9 2019, 5:11 PM · Spectacle
ngraham added a comment to D24508: Make all buttons in the main window activatable with enter.

This works, though I'll admit that the custom event filter makes me a bit queasy. Feels kind of like hacking around something that wasn't implemented the right way in the first place (i.e. using a QDialog and QDialogButtonBox). Is porting away from that stuff even worse? Also is there a reason why we can't use only PushButtons in the main window? I was surprised to discover that half of them were ToolButtons when I went digging into the code, because they all *look* like PushButtons.

Oct 9 2019, 4:22 PM · Spectacle
davidre added a reviewer for D24508: Make all buttons in the main window activatable with enter: Spectacle.
Oct 9 2019, 2:20 PM · Spectacle
davidre updated the diff for D24508: Make all buttons in the main window activatable with enter.

remove stray qdebug

Oct 9 2019, 2:19 PM · Spectacle
aprcela added a comment to D24508: Make all buttons in the main window activatable with enter.

Works fine. All buttons get proper focus on TAB now.

Oct 9 2019, 9:49 AM · Spectacle
davidre requested review of D24508: Make all buttons in the main window activatable with enter.
Oct 9 2019, 9:23 AM · Spectacle

Oct 2 2019

ngraham added a watcher for Spectacle: ngraham.
Oct 2 2019, 9:34 PM
ngraham closed D24313: Rework compression quality settings.
Oct 2 2019, 5:18 PM · Spectacle
ngraham added a comment to D24313: Rework compression quality settings.

The slider knob does not scale with bigger font sizes and I couldn't find an easy solution for that. Is there one?

Oct 2 2019, 4:56 PM · Spectacle
ngraham updated the summary of D24313: Rework compression quality settings.
Oct 2 2019, 4:56 PM · Spectacle
ngraham accepted D24313: Rework compression quality settings.

Thanks for the patch! This is a nice complement to the Gwenview one (D24309) to make these user interfaces more consistent.

Oct 2 2019, 4:55 PM · Spectacle
MrPepe updated the diff for D24313: Rework compression quality settings.
Oct 2 2019, 2:46 AM · Spectacle
MrPepe updated the test plan for D24313: Rework compression quality settings.
Oct 2 2019, 2:45 AM · Spectacle

Sep 30 2019

MrPepe requested review of D24313: Rework compression quality settings.
Sep 30 2019, 1:49 PM · Spectacle

Sep 28 2019

Leon0402 added a comment to D23932: WIP Implement backends as plugins.

Also we are not in a situation where we have that many backends where there would be a significant impact on executable size

Sep 28 2019, 11:52 AM · Spectacle
davidre added a comment to D23932: WIP Implement backends as plugins.

My initial thoughts (I was on vacation): Is there really an advantage in using shared libs? You claim it reduces overhead but I don't see in which way. Instead there is a performance penalty in using dynamic libraries compared to having all the code in one binary. Also we are not in a situation where we have that many backends where there would be a significant impact on executable size. Neither do we support a a public plugin framework where one could install third party plugins.
I see no point in this, sorry.

Sep 28 2019, 8:19 AM · Spectacle

Sep 24 2019

aprcela added a comment to D23446: Shortcuts displayed in capture mode ComboBox.

I can build it, but when I run spectacle - I get a segmentation fault. Has anyone else such a problem?
The problem seems to be in the setupShortcuts().

ofc, i commented it out just to see if it would run at all.

I'm also not experiencing this issue. Do you have the problem if you put "setupShortcuts()" to it's old position? And perhaps you could find out where execactly the setupShortcuts() method causes the problem? Maybe this gives us some hint, what might be wrong.
Obviously, if anybody else can confirm the problem that would be super helpful.

Sep 24 2019, 8:21 PM · Spectacle
Leon0402 added a comment to D23446: Shortcuts displayed in capture mode ComboBox.

I can build it, but when I run spectacle - I get a segmentation fault. Has anyone else such a problem?
The problem seems to be in the setupShortcuts().

ofc, i commented it out just to see if it would run at all.

Sep 24 2019, 7:19 PM · Spectacle
ngraham accepted D23446: Shortcuts displayed in capture mode ComboBox.

I don't get a crash. The UI and behavior look fine to me, as does the code. But I'd really like a thorough code review from @davidre or someone else before we land this. I suspect he is on vacation or something. Anyone else can of course also review. :)

Sep 24 2019, 4:59 PM · Spectacle
ngraham closed D23687: New Bottom Help text.
Sep 24 2019, 4:49 PM · Spectacle
aprcela added a comment to D23446: Shortcuts displayed in capture mode ComboBox.

Anyone, who can review this?

Sep 24 2019, 4:14 PM · Spectacle
ngraham accepted D23687: New Bottom Help text.

Nah let's do it.

Sep 24 2019, 3:59 PM · Spectacle

Sep 23 2019

Leon0402 added a comment to D23932: WIP Implement backends as plugins.

Hi there,

Sep 23 2019, 5:03 PM · Spectacle
Leon0402 updated the diff for D23932: WIP Implement backends as plugins.
  • Fixs to CMakeLists
Sep 23 2019, 4:53 PM · Spectacle
Leon0402 updated the diff for D23932: WIP Implement backends as plugins.
  • Added CaptureMode Rectangular Region
  • Moved code to determine wether the "Current Screen" CaptureMode should be shown to the comboBox
  • ComboxBox and shutter options update, when the backend changes
  • Fixed a few bugs
  • Only uses one enum now called CaptureMode, instead of two very similar enums
Sep 23 2019, 4:34 PM · Spectacle
Leon0402 added a comment to D23446: Shortcuts displayed in capture mode ComboBox.

Anyone, who can review this?

Sep 23 2019, 1:31 PM · Spectacle
Leon0402 added a comment to D23687: New Bottom Help text.

Is there something holding this back to land?

Sep 23 2019, 1:29 PM · Spectacle

Sep 21 2019

GB_2 added a comment to D24034: Fix offset issue in dual hidpi screen.

Maybe this is relevant: https://lists.qt-project.org/pipermail/development/2019-September/037434.html

Sep 21 2019, 7:22 AM · Spectacle

Sep 19 2019

Leon0402 added a member for Spectacle: Leon0402.
Sep 19 2019, 4:53 PM
Leon0402 updated the test plan for D23932: WIP Implement backends as plugins.
Sep 19 2019, 1:53 PM · Spectacle
Leon0402 updated the diff for D23932: WIP Implement backends as plugins.
  • Use dynamic plugins instead of static plugins
  • Changed CMakeLists, so plugins will be compiled to shared libs (dymanic plugins)
  • Use json metadata
  • Improved auto selection algorithm (added "recommended" field in .json, so the algo knows, which plugin should be preferred)
  • Added runtime checks, so the plugins can check whether all requirements are fullfilled (for example if kwin is available)
  • plugins are unloaded automatically if not needed (instead of install/remove button)
  • Fixed some Bugs
Sep 19 2019, 1:50 PM · Spectacle

Sep 18 2019

guoyunhe added a comment to D24034: Fix offset issue in dual hidpi screen.

This really needs to be fixed in Qt. 5.13.1 has an overhaul of the system, please make sure that the patch is still required there and does not make things worse.

And please report positioning issues that you can reproduce in https://bugreports.qt.io/browse/QTBUG-77086

Sep 18 2019, 8:03 AM · Spectacle

Sep 17 2019

thiago added a comment to D24034: Fix offset issue in dual hidpi screen.

This really needs to be fixed in Qt. 5.13.1 has an overhaul of the system, please make sure that the patch is still required there and does not make things worse.

Sep 17 2019, 10:16 PM · Spectacle
ngraham added a comment to D24034: Fix offset issue in dual hidpi screen.

Nice! The code change seems same given the bug we're working around, and this doesn't seem to regress anything for me, but I can't test the fix since I don't have two high DPI screens. Hopefully someone with this kind of hardware can give the patch a whirl.

Sep 17 2019, 9:08 PM · Spectacle
guoyunhe updated the diff for D24034: Fix offset issue in dual hidpi screen.

Better code style

Sep 17 2019, 8:54 PM · Spectacle
ngraham added inline comments to D24034: Fix offset issue in dual hidpi screen.
Sep 17 2019, 8:35 PM · Spectacle
ngraham updated the summary of D24034: Fix offset issue in dual hidpi screen.
Sep 17 2019, 8:31 PM · Spectacle
guoyunhe updated the summary of D24034: Fix offset issue in dual hidpi screen.
Sep 17 2019, 8:14 PM · Spectacle
guoyunhe added a reviewer for D24034: Fix offset issue in dual hidpi screen: Spectacle.
Sep 17 2019, 8:11 PM · Spectacle
guoyunhe updated the summary of D24034: Fix offset issue in dual hidpi screen.
Sep 17 2019, 8:10 PM · Spectacle
guoyunhe requested review of D24034: Fix offset issue in dual hidpi screen.
Sep 17 2019, 8:09 PM · Spectacle

Sep 14 2019

Leon0402 added a comment to D23932: WIP Implement backends as plugins.

...But is this true? the feature doesn't exist yet. We have no idea whether or not it would impose overhead on Spectacle when not in use. Maybe we should implement it before designing a feature to turn it off if it has bad performance. Who knows, maybe the performance turns out to be just fine! :) I honestly have no idea how the feature could possibly cause bad performance when it's not in use. "I want to turn it off because it has bad performance" smacks of a fixable design error that should be fixed, not worked around.

Sep 14 2019, 1:20 PM · Spectacle
ngraham added a comment to D23932: WIP Implement backends as plugins.
... for example a few people said, when I asked them in vdg if they would like screen record capabilities, that they don't because they don't need it and it's a significant overhead.
Sep 14 2019, 2:25 AM · Spectacle

Sep 13 2019

Leon0402 added a comment to D23932: WIP Implement backends as plugins.

Anything requiring so technical an explanation of the options is certainly not something that should be in the UI.

That's unfair :D it's not a finished feature, it's wip , it was a technical analysis of scenarios, which should be taken into account and possible solutions (with the option to add some solutions from you or another). That doesn't make the setting complicated or anything for the user. I could explain every single revision I've done in such great detail ;)

Sep 13 2019, 10:54 PM · Spectacle
ngraham added a comment to D23932: WIP Implement backends as plugins.

Anything requiring so technical an explanation of the options is certainly not something that should be in the UI. :)

Sep 13 2019, 10:05 PM · Spectacle
Leon0402 added a comment to D23932: WIP Implement backends as plugins.

I see your points at @ngraham and @ndavis

Sep 13 2019, 9:50 PM · Spectacle
ndavis added a comment to D23932: WIP Implement backends as plugins.

Flexibility sounds good, but how am I supposed to know what I'm looking at or what options to pick? Perhaps it's better to handle the backends automatically, if possible?

Sep 13 2019, 8:31 PM · Spectacle
ngraham added a comment to D23932: WIP Implement backends as plugins.

Cool beans. I'm not sure this is something that should be exposed to the user in the settings window, though--a tleast not as currently presented. I can see people disabling things and breaking Spectacle.

Sep 13 2019, 6:42 PM · Spectacle
Leon0402 updated the task description for T11655: Multiple backend support in Spectacle.
Sep 13 2019, 6:15 PM · Spectacle
Leon0402 updated the test plan for D23932: WIP Implement backends as plugins.
Sep 13 2019, 6:15 PM · Spectacle
Leon0402 added reviewers for D23932: WIP Implement backends as plugins: davidre, Spectacle, VDG.
Sep 13 2019, 6:14 PM · Spectacle
Leon0402 requested review of D23932: WIP Implement backends as plugins.
Sep 13 2019, 6:13 PM · Spectacle
Leon0402 created T11655: Multiple backend support in Spectacle.
Sep 13 2019, 5:32 PM · Spectacle

Sep 12 2019

davidre added a comment to D23891: CMD arguments and CaptureMode was mixed up.

Will revert.

We should consider renaming the enums or serialized values or adding a comment in the code though, because the way this is written is is confusing and looks wrong (even if it's right).

Sep 12 2019, 1:13 PM · Spectacle
ngraham added a comment to D23891: CMD arguments and CaptureMode was mixed up.

Will revert.

Sep 12 2019, 1:12 PM · Spectacle
aprcela added a comment to D23891: CMD arguments and CaptureMode was mixed up.

Did you test this? I think the way it was was correct. A transient window is for example a popup . Only the popup is transientOnly (capturemode window under cursor) and everything is transientwithparent. See also the help text

-u, --windowundercursor    Capture the window currently under the cursor,
                             including parents of pop-up menus
  -t, --transientonly        Capture the window currently under the cursor,
                             excluding parents of pop-up menus

and the gui version
https://cgit.kde.org/spectacle.git/tree/src/Gui/KSWidget.cpp#n217

Please revert this

Sep 12 2019, 11:48 AM · Spectacle
davidre requested changes to D23891: CMD arguments and CaptureMode was mixed up.
Sep 12 2019, 8:42 AM · Spectacle
davidre reopened D23891: CMD arguments and CaptureMode was mixed up.

Did you test this? I think the way it was was correct. A transient window is for example a popup . Only the popup is transientOnly (capturemode window under cursor) and everything is transientwithparent. See also the help text

-u, --windowundercursor    Capture the window currently under the cursor,
                             including parents of pop-up menus
  -t, --transientonly        Capture the window currently under the cursor,
                             excluding parents of pop-up menus

and the gui version
https://cgit.kde.org/spectacle.git/tree/src/Gui/KSWidget.cpp#n217

Sep 12 2019, 8:42 AM · Spectacle

Sep 11 2019

ngraham closed D23891: CMD arguments and CaptureMode was mixed up.
Sep 11 2019, 11:30 PM · Spectacle
ngraham accepted D23891: CMD arguments and CaptureMode was mixed up.

Whoops.

Sep 11 2019, 11:26 PM · Spectacle
aprcela requested review of D23891: CMD arguments and CaptureMode was mixed up.
Sep 11 2019, 10:36 PM · Spectacle

Sep 5 2019

Leon0402 added a comment to D23446: Shortcuts displayed in capture mode ComboBox.

Okay I changed it in Spectacle, so in the ComboBox, Spectacle shortcut settings, global settings it displays the correct string.

Sep 5 2019, 10:26 PM · Spectacle
Leon0402 updated the diff for D23446: Shortcuts displayed in capture mode ComboBox.

Updated capture/action names (and captureMode names in enum)

Sep 5 2019, 10:20 PM · Spectacle
ngraham added a comment to D23446: Shortcuts displayed in capture mode ComboBox.

You don't need to change the translations; once you change the English string, the translators notice the change and begin to translate the new ones.

Sep 5 2019, 8:42 PM · Spectacle
Leon0402 added a comment to D23446: Shortcuts displayed in capture mode ComboBox.

I would like this to be more consistent as well. I suppose the best wording would be
Capture entire screen
Capture current screen

What do you think?

That sounds just fine to me . And then in the combo box, you would omit the word "Capture" (it's implied).

Sep 5 2019, 8:25 PM · Spectacle
ngraham added a comment to D23446: Shortcuts displayed in capture mode ComboBox.

I would like this to be more consistent as well. I suppose the best wording would be
Capture entire screen
Capture current screen

What do you think?

Sep 5 2019, 6:43 PM · Spectacle
Leon0402 added a comment to D23446: Shortcuts displayed in capture mode ComboBox.

One important change with that version is that Fullscreen is called "Entire Desktop" instead.

Sep 5 2019, 6:12 PM · Spectacle
Leon0402 updated the test plan for D23446: Shortcuts displayed in capture mode ComboBox.
Sep 5 2019, 6:05 PM · Spectacle
Leon0402 updated the diff for D23446: Shortcuts displayed in capture mode ComboBox.

Changed include order

Sep 5 2019, 4:49 PM · Spectacle
ngraham added inline comments to D23446: Shortcuts displayed in capture mode ComboBox.
Sep 5 2019, 4:44 PM · Spectacle
Leon0402 updated the diff for D23446: Shortcuts displayed in capture mode ComboBox.
  • Improve code in various places
  • Change model to QListModel
  • Keep reference to QAction (so the texts can be updated if a shortcut changes)
  • Add captureMode as a property of QAction (setData)
Sep 5 2019, 4:41 PM · Spectacle
aprcela added a comment to D23723: Save image to clipboard if --nonotify is used.

This also applies the delay of 250 ms when saving the picture not only copying. To make this better we could move this either inside the if-else above or have another test if we copied to clipboard - can't get around a bit of duplication. However this piece of code is all over the place already and I don't like the design of forceNotify and quitting through the main window. So this if fine with me if we could avoid the extra wait when saving to a file.

Sep 5 2019, 3:01 PM · Spectacle
aprcela updated the diff for D23723: Save image to clipboard if --nonotify is used.

Edit if and add else if

Sep 5 2019, 2:50 PM · Spectacle
davidre added a comment to D23446: Shortcuts displayed in capture mode ComboBox.

I'm not sure about the structure of the tableModel. Thinking about it we don't really have a table structure of items but a list. Also it seems you are mixing columns an roles. Your model advertises itself with 3 columns but only has data 2 and each column in a row refers to the same item.

I'm not quite sure what you mean with your last sentence, but in general I think a tableModel is suitable. It has three pieces of data each row. What exactly is done with it, how it is displayed in the end etc. has nothing to do with the model anymore in my opinion. I couldn't find an official statement about roles, but I liked this explanation from StackOverflow "A role is simply an additional selector used when accessing data of a model." -> So again I would say, each column could be accessed by a different role and displayed in a different way (or not displayed at all). For me three columns just means, each delegate uses three pieces of data and that's the case.
But anyway there is more than one way to go and I don't persist on using a tableModle, in fact, I'm totally fine with using a QAbstractListModel. Seems reasonable to me as well!

I'm also not that experienced in that area but in my mind you would use a tablemodel where you have items in table like structure and Roles to access different aspect of the items. So a list with multiple roles would fit here better.

hen introducing a TooltipRole to access the the tooltip through the index.

I'm not a fan of this though. It is not a tooltip (and would therefore confuse me to give it that role) and it will probably also not work as delegates come with code to display / use the data of the different roles automatically. So if you would set the toolTipRole and call the paint() method of the delegate, it would actually become (additionally) a tooltip.
Instead I would override QHash<int, QByteArray> QAbstractItemModel::roleNames() const and introduce a new UserRole "shortcutRole" or anything like that. I could also make a custom role for the action. It was confusing to me when I first saw the code, what that information is, because "Qt::UserRole" is not really descriptive. So I would suggest to also introduce a second custom role called "actionRole". This is not super important to me, I just think it would make the code a little bit more readable.

Would that be a good compromise? Would you leave the third data as Qt::UserRole or introduce a new role like ActionRole (as we override roleNames() anyways)

You're right of course, I was somehow thinking about tooltips when I meant shortcuts. Yes that would be the way for an additional role. You crename Qt::UserRole to give it a more descriptive name. Take a look here for example: https://cgit.kde.org/plasma-workspace.git/tree/wallpapers/image/backgroundlistmodel.h#n61/backgroundlistmodel.h#n61

Sep 5 2019, 12:12 PM · Spectacle
Leon0402 added a comment to D23446: Shortcuts displayed in capture mode ComboBox.

I'm not sure about the structure of the tableModel. Thinking about it we don't really have a table structure of items but a list. Also it seems you are mixing columns an roles. Your model advertises itself with 3 columns but only has data 2 and each column in a row refers to the same item.

Sep 5 2019, 11:22 AM · Spectacle
Leon0402 updated the diff for D23687: New Bottom Help text.

Changed if condition according to David's comment

Sep 5 2019, 11:02 AM · Spectacle
davidre added a comment to D23446: Shortcuts displayed in capture mode ComboBox.

I'm not sure about the structure of the tableModel. Thinking about it we don't really have a table structure of items but a list. Also it seems you are mixing columns an roles. Your model advertises itself with 3 columns but only has data 2 and each column in a row refers to the same item. So I would suggest switching to QAbstractListModel and then introducing a TooltipRole to access the the tooltip through the index.

Sep 5 2019, 8:13 AM · Spectacle
davidre added a comment to D23723: Save image to clipboard if --nonotify is used.

This also applies the delay of 250 ms when saving the picture not only copying. To make this better we could move this either inside the if-else above or have another test if we copied to clipboard - can't get around a bit of duplication. However this piece of code is all over the place already and I don't like the design of forceNotify and quitting through the main window. So this if fine with me if we could avoid the extra wait when saving to a file.

Sep 5 2019, 7:56 AM · Spectacle
davidre added inline comments to D23687: New Bottom Help text.
Sep 5 2019, 7:46 AM · Spectacle

Sep 4 2019

ngraham accepted D23723: Save image to clipboard if --nonotify is used.

@davidre, does this look good?

Sep 4 2019, 9:44 PM · Spectacle
ngraham closed D23724: Cleanup source code of minor annoyances.
Sep 4 2019, 9:43 PM · Spectacle